[libc-commits] [libc] [llvm] [libc][math] Add tgammabf16 math support for bfloat16. (PR #208689)
via libc-commits
libc-commits at lists.llvm.org
Wed Jul 15 13:51:25 PDT 2026
================
@@ -529,6 +529,12 @@ MPFRNumber MPFRNumber::tanh() const {
return result;
}
+MPFRNumber MPFRNumber::tgamma() const {
+ MPFRNumber result(*this);
+ mpfr_gamma(result.value, value, mpfr_rounding);
+ return result;
+}
----------------
Sukumarsawant wrote:
nit: same here between tan family, can be moved
https://github.com/llvm/llvm-project/pull/208689
More information about the libc-commits
mailing list