


Bits error versus re



Bits error versus im
Results
if re < -1.3429377186161065e+154Initial program 59.4
Taylor expanded around -inf 7.1
Simplified7.1
if -1.3429377186161065e+154 < re < -2.8680269864911846e-245 or 2.1797926685456316e-244 < re < 1.8925171695161476e+105Initial program 17.7
if -2.8680269864911846e-245 < re < 2.1797926685456316e-244Initial program 30.1
Taylor expanded around 0 32.4
if 1.8925171695161476e+105 < re Initial program 49.3
Taylor expanded around inf 10.0
Final simplification16.6
Time bar (total: 3.6s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 29.6 | 16.6 | 7.1 | 22.5 | 58% |
herbie shell --seed 2018355
(FPCore (re im)
:name "math.abs on complex"
(sqrt (+ (* re re) (* im im))))