


Bits error versus re



Bits error versus im
Results
if re < -6.40181675753278e+116Initial program 52.1
Taylor expanded around -inf 7.5
Simplified7.5
if -6.40181675753278e+116 < re < 6.1478219919101515e+91Initial program 20.8
if 6.1478219919101515e+91 < re Initial program 47.2
Taylor expanded around inf 9.8
Final simplification16.9
Time bar (total: 3.3s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 30.1 | 16.9 | 7.3 | 22.8 | 57.9% |
herbie shell --seed 2018274
(FPCore (re im)
:name "math.log/1 on complex, real part"
(log (sqrt (+ (* re re) (* im im)))))