


Bits error versus re



Bits error versus im
Results
if re < -4.0372103667772526e+152Initial program 58.9
Taylor expanded around -inf 7.5
Simplified7.5
if -4.0372103667772526e+152 < re < 1.637785624538399e+151Initial program 19.3
if 1.637785624538399e+151 < re Initial program 58.4
Taylor expanded around inf 8.6
Final simplification16.5
Time bar (total: 1.7s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 29.2 | 16.5 | 7.6 | 21.6 | 58.8% |
herbie shell --seed 2018290
(FPCore (re im)
:name "math.abs on complex"
(sqrt (+ (* re re) (* im im))))