


Bits error versus re



Bits error versus im
Results
if re < -1.2266429946375697e+141Initial program 58.1
Taylor expanded around -inf 6.5
Simplified6.5
if -1.2266429946375697e+141 < re < -3.2900832584178346e-245 or 3.080764931580134e-244 < re < 2.330994921200347e+104Initial program 18.4
if -3.2900832584178346e-245 < re < 3.080764931580134e-244Initial program 31.1
Taylor expanded around 0 32.0
if 2.330994921200347e+104 < re Initial program 51.3
Taylor expanded around inf 8.5
Final simplification16.5
Time bar (total: 4.1s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 30.8 | 16.5 | 6.7 | 24.1 | 59.5% |
herbie shell --seed 2018355
(FPCore (re im)
:name "math.log/1 on complex, real part"
(log (sqrt (+ (* re re) (* im im)))))