[libc] [llvm] [APFloat] Add exp function for APFloat::IEEESsingle using expf implementation from LLVM libc. (PR #143959)
Alexey Samsonov via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 13 10:23:30 PDT 2025
================
@@ -1524,6 +1524,10 @@ class APFloat : public APFloatBase {
friend APFloat frexp(const APFloat &X, int &Exp, roundingMode RM);
friend IEEEFloat;
friend DoubleAPFloat;
+
+#ifdef LLVM_INTEGRATE_LIBC
+ friend APFloat exp(const APFloat &X, roundingMode RM);
+#endif // LLVM_INTEGRATE_LIBC)
----------------
vonosmas wrote:
Nit: remove trailing )
https://github.com/llvm/llvm-project/pull/143959
More information about the llvm-commits
mailing list