


Bits error versus re



Bits error versus im
Results
if re < -1.8480056928576853e+75Initial program 45.5
Taylor expanded around -inf 9.2
Simplified9.2
if -1.8480056928576853e+75 < re < -1.3605484803417976e-159 or 3.367065929769179e-95 < re < 3.4810428221829335e+114Initial program 15.9
if -1.3605484803417976e-159 < re < 3.367065929769179e-95Initial program 28.3
Taylor expanded around 0 35.1
if 3.4810428221829335e+114 < re Initial program 53.2
Taylor expanded around inf 8.4
Final simplification19.1
Time bar (total: 3.2s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 31.1 | 19.1 | 7.4 | 23.7 | 50.5% |
herbie shell --seed 2018339
(FPCore (re im)
:name "math.log/1 on complex, real part"
(log (sqrt (+ (* re re) (* im im)))))