Closed ZERICO2005 closed 1 month ago
ldexpf currently checks that current_exponent + add_exponent <= exponent_max. However, subtracting from the exponent value of Inf or NaN will result in a finite value. I have fixed this so that Inf and NaN are returned unmodified.
current_exponent + add_exponent <= exponent_max
Thanks!
ldexpf currently checks that
current_exponent + add_exponent <= exponent_max
. However, subtracting from the exponent value of Inf or NaN will result in a finite value. I have fixed this so that Inf and NaN are returned unmodified.