[libc-commits] [libc] [libc][math][c23] Implemented sinpif function correctly rounded for all rounding modes. (PR #97149)
    via libc-commits 
    libc-commits at lists.llvm.org
       
    Sat Jun 29 11:58:05 PDT 2024
    
    
  
================
@@ -437,6 +437,12 @@ class MPFRNumber {
     return result;
   }
 
+  MPFRNumber sinpi() const {
+    MPFRNumber result(*this);
+    mpfr_sinpi(result.value, value, mpfr_rounding);
----------------
lntue wrote:
The presubmit bot failures show that `mpfr_sinpi` is missing there.  It looks like `mpfr_sinpi` is only available since MPFR 4.2.0.  Can you add a workaround for older MPFR versions?
https://github.com/llvm/llvm-project/pull/97149
    
    
More information about the libc-commits
mailing list