\frac{\sin x \cdot \sinh y}{x}\frac{\sin x}{\frac{x}{\sinh y}}double f(double x, double y) {
double r26241158 = x;
double r26241159 = sin(r26241158);
double r26241160 = y;
double r26241161 = sinh(r26241160);
double r26241162 = r26241159 * r26241161;
double r26241163 = r26241162 / r26241158;
return r26241163;
}
double f(double x, double y) {
double r26241164 = x;
double r26241165 = sin(r26241164);
double r26241166 = y;
double r26241167 = sinh(r26241166);
double r26241168 = r26241164 / r26241167;
double r26241169 = r26241165 / r26241168;
return r26241169;
}




Bits error versus x




Bits error versus y
Results
| Original | 13.9 |
|---|---|
| Target | 0.2 |
| Herbie | 0.8 |
Initial program 13.9
rmApplied associate-/l*0.8
Final simplification0.8
herbie shell --seed 2019174
(FPCore (x y)
:name "Linear.Quaternion:$ccosh from linear-1.19.1.3"
:herbie-target
(* (sin x) (/ (sinh y) x))
(/ (* (sin x) (sinh y)) x))