


Bits error versus x



Bits error versus y
Initial program 43.7
Taylor expanded around 0 0.7
Simplified0.7
Final simplification0.7
Time bar (total: 47.6s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 0.7 | 0.7 | 0.2 | 0.6 | 0% |
herbie shell --seed 2018263 +o rules:numerics
(FPCore (x y)
:name "Euler formula imaginary part (p55)"
(im (complex (* (/ (+ (exp x) (exp (- x))) 2) (cos y)) (* (/ (- (exp x) (exp (- x))) 2) (sin y)))))