


Bits error versus re



Bits error versus im
Results
if re < -4.3473069568466345e+139Initial program 55.6
Taylor expanded around -inf 7.7
Simplified7.7
if -4.3473069568466345e+139 < re < 1.3325633016550788e+132Initial program 20.3
if 1.3325633016550788e+132 < re Initial program 54.4
Taylor expanded around inf 9.1
Final simplification17.0
Time bar (total: 3.4s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 29.9 | 17.0 | 8.1 | 21.9 | 59.2% |
herbie shell --seed 2018351
(FPCore (re im)
:name "math.abs on complex"
(sqrt (+ (* re re) (* im im))))