\frac{\sin x \cdot \sinh y}{x}\frac{\sinh y}{\frac{x}{\sin x}}double f(double x, double y) {
double r23594504 = x;
double r23594505 = sin(r23594504);
double r23594506 = y;
double r23594507 = sinh(r23594506);
double r23594508 = r23594505 * r23594507;
double r23594509 = r23594508 / r23594504;
return r23594509;
}
double f(double x, double y) {
double r23594510 = y;
double r23594511 = sinh(r23594510);
double r23594512 = x;
double r23594513 = sin(r23594512);
double r23594514 = r23594512 / r23594513;
double r23594515 = r23594511 / r23594514;
return r23594515;
}




Bits error versus x




Bits error versus y
Results
| Original | 13.9 |
|---|---|
| Target | 0.3 |
| Herbie | 0.1 |
Initial program 13.9
Taylor expanded around inf 43.4
Simplified0.1
Final simplification0.1
herbie shell --seed 2019165 +o rules:numerics
(FPCore (x y)
:name "Linear.Quaternion:$ccosh from linear-1.19.1.3"
:herbie-target
(* (sin x) (/ (sinh y) x))
(/ (* (sin x) (sinh y)) x))