


Bits error versus re



Bits error versus im
Results
if re < -9.487910074454056e+128Initial program 56.5
Initial simplification56.5
Taylor expanded around -inf 7.4
Simplified7.4
if -9.487910074454056e+128 < re < 4.87295810596755e+120Initial program 20.1
Initial simplification20.1
if 4.87295810596755e+120 < re Initial program 54.7
Initial simplification54.7
Taylor expanded around inf 8.2
Final simplification16.4
Time bar (total: 3.8s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 30.9 | 16.4 | 7.0 | 23.9 | 60.7% |
herbie shell --seed 2018286
(FPCore (re im)
:name "math.log/1 on complex, real part"
(log (sqrt (+ (* re re) (* im im)))))