


Bits error versus re



Bits error versus im
Results
if re < -7.759066996502054e+153Initial program 61.9
Taylor expanded around -inf 6.7
Simplified6.7
if -7.759066996502054e+153 < re < -4.712388656371755e-181 or -4.286280745334311e-241 < re < 1.310065135699569e+96Initial program 19.9
if -4.712388656371755e-181 < re < -4.286280745334311e-241Initial program 30.3
Taylor expanded around 0 38.9
if 1.310065135699569e+96 < re Initial program 49.6
Taylor expanded around inf 8.7
Final simplification17.2
Time bar (total: 3.8s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 30.8 | 17.2 | 7.1 | 23.7 | 57.2% |
herbie shell --seed 2018295
(FPCore (re im)
:name "math.log/1 on complex, real part"
(log (sqrt (+ (* re re) (* im im)))))