


Bits error versus re



Bits error versus im
Results
if re < -1.2479508588260587e+154Initial program 59.4
Initial simplification59.4
Taylor expanded around -inf 7.1
Simplified7.1
if -1.2479508588260587e+154 < re < 1.9728387301565315e+146Initial program 19.4
Initial simplification19.4
if 1.9728387301565315e+146 < re Initial program 57.8
Initial simplification57.8
Taylor expanded around inf 8.0
Final simplification16.3
Time bar (total: 4.3s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 29.7 | 16.3 | 7.4 | 22.3 | 60.1% |
herbie shell --seed 2018286
(FPCore (re im)
:name "math.abs on complex"
(sqrt (+ (* re re) (* im im))))