


Bits error versus re



Bits error versus im
Results
if re < -3.0987209229786233e+128Initial program 53.5
Taylor expanded around -inf 8.7
Simplified8.7
if -3.0987209229786233e+128 < re < -2.8891795525048955e-185 or 7.580755379127733e-178 < re < 8.930021655630846e+100Initial program 15.8
if -2.8891795525048955e-185 < re < 7.580755379127733e-178Initial program 29.7
Taylor expanded around 0 33.2
if 8.930021655630846e+100 < re Initial program 47.7
Taylor expanded around inf 9.5
Final simplification17.2
Time bar (total: 3.3s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 29.7 | 17.2 | 7.2 | 22.5 | 55.4% |
herbie shell --seed 2018353
(FPCore (re im)
:name "math.abs on complex"
(sqrt (+ (* re re) (* im im))))