


Bits error versus re



Bits error versus im
if re < -4.43594736247992521e37Initial program 43.4
Taylor expanded around -inf 12.3
Simplified12.3
if -4.43594736247992521e37 < re < -6.3388254617832719e-190 or 6.5530138229882175e-228 < re < 2.596063910090653e101Initial program 18.9
if -6.3388254617832719e-190 < re < 6.5530138229882175e-228Initial program 29.7
Taylor expanded around 0 33.2
if 2.596063910090653e101 < re Initial program 51.9
Taylor expanded around inf 8.3
Final simplification17.9
herbie shell --seed 2020179
(FPCore (re im)
:name "math.log/1 on complex, real part"
:precision binary64
(log (sqrt (+ (* re re) (* im im)))))