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







Bits error versus x







Bits error versus y
Results
| Alternative 1 | |
|---|---|
| Error | 0.8 |
| Cost | 6976 |
| Alternative 2 | |
|---|---|
| Error | 1.2 |
| Cost | 6464 |
| Alternative 3 | |
|---|---|
| Error | 59.1 |
| Cost | 64 |
| Alternative 4 | |
|---|---|
| Error | 59.2 |
| Cost | 64 |

Initial program 0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2021044
(FPCore (x y)
:name "Linear.Quaternion:$ccos from linear-1.19.1.3"
:precision binary64
(* (sin x) (/ (sinh y) y)))