\cosh x \cdot \frac{\sin y}{y}\sin y \cdot \frac{\cosh x}{y}double f(double x, double y) {
double r512502 = x;
double r512503 = cosh(r512502);
double r512504 = y;
double r512505 = sin(r512504);
double r512506 = r512505 / r512504;
double r512507 = r512503 * r512506;
return r512507;
}
double f(double x, double y) {
double r512508 = y;
double r512509 = sin(r512508);
double r512510 = x;
double r512511 = cosh(r512510);
double r512512 = r512511 / r512508;
double r512513 = r512509 * r512512;
return r512513;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.1 |
|---|---|
| Target | 0.1 |
| Herbie | 0.3 |
Initial program 0.1
Simplified0.1
rmApplied *-un-lft-identity0.1
Applied times-frac0.3
Simplified0.3
Final simplification0.3
herbie shell --seed 2019174 +o rules:numerics
(FPCore (x y)
:name "Linear.Quaternion:$csinh from linear-1.19.1.3"
:herbie-target
(/ (* (cosh x) (sin y)) y)
(* (cosh x) (/ (sin y) y)))