[libc-commits] [libc] [libc][math][c23] Implemented sinpif function correctly rounded for all rounding modes. (PR #97149)

Hendrik Hübner via libc-commits libc-commits at lists.llvm.org
Sat Jun 29 14:52:22 PDT 2024


================
@@ -437,6 +437,12 @@ class MPFRNumber {
     return result;
   }
 
+  MPFRNumber sinpi() const {
+    MPFRNumber result(*this);
+    mpfr_sinpi(result.value, value, mpfr_rounding);
----------------
HendrikHuebner wrote:

done

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


More information about the libc-commits mailing list