\frac{\sin x \cdot \sinh y}{x}\frac{\sin x}{x} \cdot \sinh ydouble f(double x, double y) {
double r403486 = x;
double r403487 = sin(r403486);
double r403488 = y;
double r403489 = sinh(r403488);
double r403490 = r403487 * r403489;
double r403491 = r403490 / r403486;
return r403491;
}
double f(double x, double y) {
double r403492 = x;
double r403493 = sin(r403492);
double r403494 = r403493 / r403492;
double r403495 = y;
double r403496 = sinh(r403495);
double r403497 = r403494 * r403496;
return r403497;
}




Bits error versus x




Bits error versus y
Results
| Original | 13.8 |
|---|---|
| Target | 0.2 |
| Herbie | 0.1 |
Initial program 13.8
rmApplied *-un-lft-identity13.8
Applied times-frac0.2
Simplified0.2
rmApplied clear-num0.9
Final simplification0.1
herbie shell --seed 2019297
(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))