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



Bits error versus x



Bits error versus y
Results
Initial program 0.1
Applied add-cube-cbrt_binary640.6
Applied pow1/3_binary6417.0
Applied pow1/3_binary6417.1
Applied pow1/3_binary6417.2
Applied pow-prod-up_binary6417.2
Applied pow-prod-up_binary640.1
Final simplification0.1
herbie shell --seed 2022068
(FPCore (x y)
:name "Linear.Quaternion:$cexp from linear-1.19.1.3"
:precision binary64
(* x (/ (sin y) y)))