================ @@ -1536,6 +1536,26 @@ inline APFloat abs(APFloat X) { return X; } +/// Returns X^N for N >= 0. +inline APFloat pow(const APFloat &X, int64_t N) { ---------------- ImanHosseini wrote: I don't think we do: https://libc.llvm.org/headers/math/index.html https://github.com/llvm/llvm-project/pull/122889