[libc-commits] [libc] [libc][math] Fix log1p SEGV with large inputs when FTZ/DAZ flags are set. (PR #115541)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Fri Nov 8 12:43:48 PST 2024
================
@@ -975,16 +975,18 @@ LLVM_LIBC_FUNCTION(double, log1p, (double x)) {
double err_hi = ERR_HI[hi == 0.0];
// Scaling factior = 2^(-xh_bits.get_exponent())
----------------
michaelrj-google wrote:
since you flipped the subtraction in the calculation of `s_u` is this comment still accurate?
https://github.com/llvm/llvm-project/pull/115541
More information about the libc-commits
mailing list