



Bits error versus x




Bits error versus eps
| Original | 37.2 |
|---|---|
| Comparison | 14.7 |
| Herbie | 0.4 |
Initial program 37.2
rmApplied sin-sum 22.3
rmApplied add-cbrt-cube 23.0
Applied taylor 23.0
Taylor expanded around 0 23.0
Applied simplify 0.4
Total time: 2.5m Debug log
Please include this information when filing a bug report:
herbie --seed '#(207320870 3046384572 2871534793 3373030187 1410669607 3523544200)'
(FPCore (x eps)
:name "NMSE example 3.3"
:target
(* 2 (* (cos (+ x (/ eps 2))) (sin (/ eps 2))))
(- (sin (+ x eps)) (sin x)))