


Bits error versus re



Bits error versus im
Results
if re < -4.502193544579294e+153Initial program 59.3
Taylor expanded around -inf 7.8
Simplified7.8
if -4.502193544579294e+153 < re < -9.387058305577293e-172 or 4.890309052171191e-287 < re < 2.7623865262755493e+132Initial program 17.3
if -9.387058305577293e-172 < re < 4.890309052171191e-287Initial program 29.4
rmApplied add-sqr-sqrt29.4
Applied sqrt-prod29.6
Taylor expanded around 0 33.7
if 2.7623865262755493e+132 < re Initial program 54.0
Taylor expanded around inf 8.4
Final simplification16.9
Time bar (total: 4.6s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 29.2 | 16.9 | 7.4 | 21.8 | 56.3% |
herbie shell --seed 2018340
(FPCore (re im)
:name "math.abs on complex"
(sqrt (+ (* re re) (* im im))))