


Bits error versus re



Bits error versus im
Results
if re < -2.309584646013422e+120Initial program 51.6
Taylor expanded around -inf 9.6
Simplified9.6
if -2.309584646013422e+120 < re < 4.8166825988976595e+82Initial program 21.2
if 4.8166825988976595e+82 < re Initial program 46.0
Taylor expanded around inf 11.6
Final simplification17.7
herbie shell --seed 2019026
(FPCore (re im)
:name "math.abs on complex"
(sqrt (+ (* re re) (* im im))))