


Bits error versus re



Bits error versus im
Results
if re < -1.5339282929029025e+153Initial program 59.2
Initial simplification59.2
Taylor expanded around -inf 7.7
Simplified7.7
if -1.5339282929029025e+153 < re < 1.0845514057732897e+144Initial program 20.4
Initial simplification20.4
if 1.0845514057732897e+144 < re Initial program 57.0
Initial simplification57.0
Taylor expanded around inf 8.5
Final simplification17.1
Time bar (total: 6.2s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 30.3 | 17.1 | 8.0 | 22.3 | 58.8% |
herbie shell --seed 2018285
(FPCore (re im)
:name "math.abs on complex"
(sqrt (+ (* re re) (* im im))))