


Bits error versus re



Bits error versus im
Results
if re < -4.8902639993092405e+153Initial program 59.2
Taylor expanded around -inf 8.3
Simplified8.3
if -4.8902639993092405e+153 < re < 4.2147853830585397e+124Initial program 19.1
if 4.2147853830585397e+124 < re Initial program 51.8
Taylor expanded around inf 8.6
Final simplification16.2
Time bar (total: 6.7s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 28.9 | 16.2 | 7.2 | 21.7 | 58.5% |
herbie shell --seed 2018296
(FPCore (re im)
:name "math.abs on complex"
(sqrt (+ (* re re) (* im im))))