


Bits error versus re



Bits error versus im
Results
if re < -1.2094426055789201e+112Initial program 52.1
Initial simplification52.1
Taylor expanded around -inf 8.2
Simplified8.2
if -1.2094426055789201e+112 < re < 1.6002838359697833e+125Initial program 20.4
Initial simplification20.4
if 1.6002838359697833e+125 < re Initial program 53.8
Initial simplification53.8
Taylor expanded around inf 7.5
Final simplification16.5
Time bar (total: 4.4s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 30.5 | 16.5 | 7.3 | 23.2 | 60.3% |
herbie shell --seed 2018263
(FPCore (re im)
:name "math.log/1 on complex, real part"
(log (sqrt (+ (* re re) (* im im)))))