[libc-commits] [libc] [libc][math][c23] Add tanpif16 function (PR #115183)

via libc-commits libc-commits at lists.llvm.org
Thu Nov 7 08:12:40 PST 2024


================
@@ -560,6 +560,56 @@ class MPFRNumber {
     return result;
   }
 
+  MPFRNumber tanpi() const {
+    MPFRNumber result(*this);
+
+    //#if MPFR_VERSION_MAJOR > 4 ||                                                  \
+    (MPFR_VERSION_MAJOR == 4 && MPFR_VERSION_MINOR >= 2)
+
+    //    mpfr_tanpi(result.value, value, mpfr_rounding);
+    //    return result;
+    // #else
----------------
lntue wrote:

Uncomment this.

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


More information about the libc-commits mailing list