


Bits error versus re



Bits error versus im
Results
if re < -6.247790985273033e+93Initial program 50.0
Taylor expanded around -inf 9.1
Simplified9.1
if -6.247790985273033e+93 < re < 1.3202313428826321e+122Initial program 21.3
if 1.3202313428826321e+122 < re Initial program 54.7
Taylor expanded around inf 8.3
Final simplification17.2
Time bar (total: 3.5s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 31.4 | 17.2 | 7.6 | 23.9 | 59.6% |
herbie shell --seed 2018285
(FPCore (re im)
:name "math.log/1 on complex, real part"
(log (sqrt (+ (* re re) (* im im)))))