\cosh x \cdot \frac{\sin y}{y}\cosh x \cdot \frac{\sin y}{y}double f(double x, double y) {
double r500141 = x;
double r500142 = cosh(r500141);
double r500143 = y;
double r500144 = sin(r500143);
double r500145 = r500144 / r500143;
double r500146 = r500142 * r500145;
return r500146;
}
double f(double x, double y) {
double r500147 = x;
double r500148 = cosh(r500147);
double r500149 = y;
double r500150 = sin(r500149);
double r500151 = r500150 / r500149;
double r500152 = r500148 * r500151;
return r500152;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.2 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
Initial program 0.2
Final simplification0.2
herbie shell --seed 2020064 +o rules:numerics
(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)))