



Bits error versus x
| Original | 29.3 |
|---|---|
| Target | 0.1 |
| Herbie | 0.3 |
if x < -0.035151046141674525Initial program 1.3
Initial simplification1.5
Taylor expanded around -inf 1.6
Simplified1.3
if -0.035151046141674525 < x Initial program 29.5
Initial simplification29.5
Taylor expanded around 0 0.3
Simplified0.3
Final simplification0.3
Time bar (total: 19.6s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 0.6 | 0.3 | 0.0 | 0.6 | 59.1% |
herbie shell --seed 2018354 +o rules:numerics
(FPCore (x)
:name "exp2 (problem 3.3.7)"
:herbie-target
(* 4 (pow (sinh (/ x 2)) 2))
(+ (- (exp x) 2) (exp (- x))))