



Bits error versus x




Bits error versus eps
| Original | 36.8 |
|---|---|
| Comparison | 24.9 |
| Herbie | 0.8 |
if eps < -1.0210580186871404e-93 or 2.4194360613066497e-107 < eps Initial program 31.0
rmApplied sin-sum 7.5
Applied associate--l+ 7.5
rmApplied add-cube-cbrt 7.7
Applied add-cube-cbrt 7.8
Applied cube-unprod 7.8
rmApplied add-cbrt-cube 8.2
Applied simplify 1.1
if -1.0210580186871404e-93 < eps < 2.4194360613066497e-107Initial program 48.8
Applied taylor 10.7
Taylor expanded around 0 10.7
Applied simplify 0.1
Total time: 46.6s Debug log
Please report a bug with the following info:
herbie --seed '#(3156327554 3089673427 2722897680 863775740 3950877736 2254516128)'
(FPCore (x eps)
:name "NMSE example 3.3"
:target
(* 2 (* (cos (+ x (/ eps 2))) (sin (/ eps 2))))
(- (sin (+ x eps)) (sin x)))