FP32 log1pf_u10
and FP64 log1p_u10
are infinitely inaccurate for large inputs
#473
Labels
log1pf_u10
and FP64 log1p_u10
are infinitely inaccurate for large inputs
#473
On x86 targets and possibly others, the
log1pf_u10
andlog1p_u10
functions are infinitely inaccurate for large input values. Currentlylog1pf_u10 (x > 1e38) = inf
, andlog1p_u10 (x > 1e307) = inf
No input value except
x = inf
should result in aninf
result forlog1p
.Relevant source:
sleef/src/libm/sleefsp.c
Line 1761 in 85440a5
sleef/src/libm/sleefdp.c
Line 2179 in 85440a5
The text was updated successfully, but these errors were encountered: