


Bits error versus x



Bits error versus y
Initial program 43.6
Taylor expanded around 0 0.9
Simplified0.9
Final simplification0.9
Time bar (total: 33.1s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 0.9 | 0.9 | 0.1 | 0.8 | 0% |
herbie shell --seed 2018290 +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)))))