


Bits error versus re



Bits error versus im
Results
if re < -1.4072346371405111e+153Initial program 59.0
Taylor expanded around -inf 7.4
Simplified7.4
if -1.4072346371405111e+153 < re < 7.806807759685719e+146Initial program 19.4
if 7.806807759685719e+146 < re Initial program 57.2
Taylor expanded around inf 7.9
Final simplification16.4
Time bar (total: 2.0s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 29.4 | 16.4 | 7.7 | 21.7 | 59.9% |
herbie shell --seed 2018263
(FPCore (re im)
:name "math.abs on complex"
(sqrt (+ (* re re) (* im im))))