


Bits error versus re



Bits error versus im
Results
Initial program 37.5
Initial simplification13.3
Final simplification13.3
Time bar (total: 13.1s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 13.3 | 13.3 | 13.0 | 0.3 | 0% |
herbie shell --seed 2018295 +o rules:numerics
(FPCore (re im)
:name "math.sqrt on complex, imaginary part, im greater than 0 branch"
(* 0.5 (sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))))