


Bits error versus re



Bits error versus im
Results
if (/ -1 re) < -1.8088210603724382e-60Initial program 21.7
rmApplied add-cube-cbrt21.7
if -1.8088210603724382e-60 < (/ -1 re) < 7.5862302904944e-309Initial program 45.2
rmApplied add-sqr-sqrt45.2
Applied pow1/245.2
Applied log-pow45.2
Applied times-frac45.2
Taylor expanded around inf 10.5
Applied simplify10.5
if 7.5862302904944e-309 < (/ -1 re) < 1.560087582137302e-63Initial program 44.9
rmApplied add-sqr-sqrt44.9
Applied pow1/244.9
Applied log-pow44.9
Applied times-frac44.9
Taylor expanded around -inf 11.2
if 1.560087582137302e-63 < (/ -1 re) Initial program 20.7
rmApplied add-sqr-sqrt20.7
Applied pow1/220.7
Applied log-pow20.7
Applied times-frac20.7
rmApplied add-cbrt-cube20.8
Applied simplify20.8
Time bar (total: 2.2m)Debug logProfile
herbie shell --seed '#(1072743783 989954326 4239155542 3782239461 3602631542 1719177920)'
(FPCore (re im)
:name "math.log10 on complex, real part"
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10)))