\frac{\sin x \cdot \sinh y}{x}\sinh y \cdot \frac{\sin x}{x}double f(double x, double y) {
double r535385 = x;
double r535386 = sin(r535385);
double r535387 = y;
double r535388 = sinh(r535387);
double r535389 = r535386 * r535388;
double r535390 = r535389 / r535385;
return r535390;
}
double f(double x, double y) {
double r535391 = y;
double r535392 = sinh(r535391);
double r535393 = x;
double r535394 = sin(r535393);
double r535395 = r535394 / r535393;
double r535396 = r535392 * r535395;
return r535396;
}




Bits error versus x




Bits error versus y
Results
| Original | 14.6 |
|---|---|
| Target | 0.2 |
| Herbie | 0.1 |
Initial program 14.6
Taylor expanded around inf 43.6
Simplified0.2
rmApplied div-inv0.3
Applied associate-*l*0.2
Simplified0.1
Final simplification0.1
herbie shell --seed 2020047
(FPCore (x y)
:name "Linear.Quaternion:$ccosh from linear-1.19.1.3"
:precision binary64
:herbie-target
(* (sin x) (/ (sinh y) x))
(/ (* (sin x) (sinh y)) x))