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
| Alternative 1 | |
|---|---|
| Error | 23.3 |
| Cost | 1218 |
| Alternative 2 | |
|---|---|
| Error | 23.7 |
| Cost | 706 |
| Alternative 3 | |
|---|---|
| Error | 31.1 |
| Cost | 64 |


Initial program 0.1
rmApplied pow1_binary64_25260.1
rmApplied pow1_binary64_25260.1
rmApplied *-un-lft-identity_binary64_24650.1
Applied *-un-lft-identity_binary64_24650.1
Applied times-frac_binary64_24710.1
Simplified0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2021040
(FPCore (x y)
:name "Linear.Quaternion:$cexp from linear-1.19.1.3"
:precision binary64
(* x (/ (sin y) y)))