


Bits error versus re



Bits error versus im
Results
if re < -2.139770464496479e+66Initial program 43.8
Taylor expanded around -inf 10.2
Simplified10.2
if -2.139770464496479e+66 < re < -1.7386973165922955e-170 or 4.948363111980352e-288 < re < 5.516607425614895e-204 or 1.9758932018135865e-175 < re < 0.15853601375624227Initial program 18.7
if -1.7386973165922955e-170 < re < 4.948363111980352e-288 or 5.516607425614895e-204 < re < 1.9758932018135865e-175Initial program 29.6
Taylor expanded around 0 34.2
if 0.15853601375624227 < re Initial program 38.8
Taylor expanded around inf 13.2
Final simplification18.0
Time bar (total: 3.7s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 30.3 | 18.0 | 7.0 | 23.3 | 53% |
herbie shell --seed 2018340
(FPCore (re im)
:name "math.log/1 on complex, real part"
(log (sqrt (+ (* re re) (* im im)))))