x \cdot \frac{\sin y}{y}x \cdot \left(\sin y \cdot \frac{1}{y}\right)(FPCore (x y) :precision binary64 (* x (/ (sin y) y)))
(FPCore (x y) :precision binary64 (* x (* (sin y) (/ 1.0 y))))
double code(double x, double y) {
return ((double) (x * (((double) sin(y)) / y)));
}
double code(double x, double y) {
return ((double) (x * ((double) (((double) sin(y)) * (1.0 / y)))));
}



Bits error versus x



Bits error versus y
Results
Initial program Error: 0.1 bits
rmApplied div-invError: 0.2 bits
Final simplificationError: 0.2 bits
herbie shell --seed 2020204
(FPCore (x y)
:name "Linear.Quaternion:$cexp from linear-1.19.1.3"
:precision binary64
(* x (/ (sin y) y)))