


Bits error versus x



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