


Bits error versus re



Bits error versus im
Results
if re < -6.807171614999129e+153Initial program 59.3
Initial simplification59.3
Taylor expanded around -inf 6.9
Simplified6.9
if -6.807171614999129e+153 < re < 1.313127260661707e+106Initial program 19.8
Initial simplification19.8
if 1.313127260661707e+106 < re Initial program 47.7
Initial simplification47.7
Taylor expanded around inf 10.9
Final simplification16.9
Time bar (total: 2.1s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 29.0 | 16.9 | 7.7 | 21.3 | 57% |
herbie shell --seed 2018274
(FPCore (re im)
:name "math.abs on complex"
(sqrt (+ (* re re) (* im im))))