


Bits error versus x



Bits error versus y
Initial program 0.0
Simplified0.0
Taylor expanded around 0 0.7
Final simplification0.7
herbie shell --seed 2020057
(FPCore (x y)
:name "Euler formula real part (p55)"
:precision binary64
(re (complex (* (/ (+ (exp x) (exp (- x))) 2) (cos y)) (* (/ (- (exp x) (exp (- x))) 2) (sin y)))))