


Bits error versus re



Bits error versus im
Results
if re < -1.1439498147443434e+154Initial program 59.4
Taylor expanded around -inf 7.5
Simplified7.5
if -1.1439498147443434e+154 < re < 4.181280593835928e-218 or 8.782846735010695e-123 < re < 1.585583854766267e+148Initial program 19.4
if 4.181280593835928e-218 < re < 8.782846735010695e-123Initial program 25.2
Taylor expanded around 0 36.8
if 1.585583854766267e+148 < re Initial program 58.2
Taylor expanded around inf 8.1
Final simplification17.8
Time bar (total: 1.9s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 29.9 | 17.8 | 7.8 | 22.1 | 54.5% |
herbie shell --seed 2018339
(FPCore (re im)
:name "math.abs on complex"
(sqrt (+ (* re re) (* im im))))