[libc] [llvm] [APFloat] Add exp function for APFloat::IEEESsingle using expf implementation from LLVM libc. (PR #143959)

Joshua Cranmer via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 13 08:08:03 PDT 2025


================
@@ -1522,6 +1522,7 @@ class APFloat : public APFloatBase {
   friend int ilogb(const APFloat &Arg) { return ilogb(Arg.getIEEE()); }
   friend APFloat scalbn(APFloat X, int Exp, roundingMode RM);
   friend APFloat frexp(const APFloat &X, int &Exp, roundingMode RM);
+  friend APFloat exp(const APFloat &X, roundingMode RM);
----------------
jcranmer-intel wrote:

If I'm following correctly, we have two separate declarations of this function...

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


More information about the llvm-commits mailing list