


Bits error versus re



Bits error versus im
Results
if re < -1.4938863573813225e+120Initial program 53.9
Taylor expanded around -inf 8.2
Simplified8.2
if -1.4938863573813225e+120 < re < 1.6903051380317462e+57Initial program 22.0
if 1.6903051380317462e+57 < re Initial program 44.7
Taylor expanded around inf 11.2
Final simplification17.7
herbie shell --seed 2019026
(FPCore (re im)
:name "math.log/1 on complex, real part"
(log (sqrt (+ (* re re) (* im im)))))