\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r546300 = x;
double r546301 = cosh(r546300);
double r546302 = y;
double r546303 = sin(r546302);
double r546304 = r546303 / r546302;
double r546305 = r546301 * r546304;
return r546305;
}
double f(double x, double y) {
double r546306 = x;
double r546307 = cosh(r546306);
double r546308 = y;
double r546309 = sin(r546308);
double r546310 = r546309 / r546308;
double r546311 = r546307 * r546310;
return r546311;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.1 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 0.1
Final simplification0.1
herbie shell --seed 1978988140
(FPCore (x y)
:name "Linear.Quaternion:$csinh from linear-1.19.1.3"
:precision binary64
:herbie-target
(/ (* (cosh x) (sin y)) y)
(* (cosh x) (/ (sin y) y)))