[libc-commits] [libc] [libc][math][c23] Add {f, d}mul{l, f128} and f16mul{, f, l, f128} C23 math functions (PR #98972)

via libc-commits libc-commits at lists.llvm.org
Mon Jul 15 15:30:33 PDT 2024


================
@@ -79,9 +79,9 @@ enum class Operation : int {
   Div,
   Fmod,
   Hypot,
+  Mul,
   Pow,
   Sub,
-  Fmul,
----------------
overmighty wrote:

Renamed to `Mul` because the MPFR operation is named `mpfr_mul`, not `mpfr_fmul`. Even in the C standard, the `f` in `fmul` is a prefix that represents a specific type (`float`), unlike the `f` in `fmod` which means floating-point in general.

https://github.com/llvm/llvm-project/pull/98972


More information about the libc-commits mailing list