


Bits error versus re



Bits error versus im
Results
if re < -3.4685742075803927e+145Initial program 57.8
Taylor expanded around -inf 8.4
Simplified8.4
if -3.4685742075803927e+145 < re < -4.227035670334825e-245 or 7.77224422089703e-199 < re < 3.5211960401582444e+167Initial program 17.1
if -4.227035670334825e-245 < re < 7.77224422089703e-199Initial program 29.6
rmApplied add-exp-log32.0
Taylor expanded around 0 32.4
if 3.5211960401582444e+167 < re Initial program 59.3
Taylor expanded around inf 6.7
Final simplification16.9
Time bar (total: 6.3s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 29.0 | 16.9 | 7.5 | 21.6 | 56.1% |
herbie shell --seed 2018352
(FPCore (re im)
:name "math.abs on complex"
(sqrt (+ (* re re) (* im im))))