



Bits error versus x
| Original | 29.5 |
|---|---|
| Target | 0.0 |
| Herbie | 0.6 |
Initial program 29.5
Simplified29.5
Taylor expanded around 0 0.6
Simplified0.6
rmApplied add-sqr-sqrt0.6
Simplified0.6
Simplified0.6
Final simplification0.6
herbie shell --seed 2020191
(FPCore (x)
:name "exp2 (problem 3.3.7)"
:precision binary64
:herbie-expected 1.5
:herbie-target
(* 4.0 (pow (sinh (/ x 2.0)) 2.0))
(+ (- (exp x) 2.0) (exp (neg x))))