\frac{\sin x \cdot \sinh y}{x}\sinh y \cdot \frac{\sin x}{x}double f(double x, double y) {
double r521370 = x;
double r521371 = sin(r521370);
double r521372 = y;
double r521373 = sinh(r521372);
double r521374 = r521371 * r521373;
double r521375 = r521374 / r521370;
return r521375;
}
double f(double x, double y) {
double r521376 = y;
double r521377 = sinh(r521376);
double r521378 = x;
double r521379 = sin(r521378);
double r521380 = r521379 / r521378;
double r521381 = r521377 * r521380;
return r521381;
}




Bits error versus x




Bits error versus y
Results
| Original | 14.1 |
|---|---|
| Target | 0.2 |
| Herbie | 0.1 |
Initial program 14.1
rmApplied *-un-lft-identity14.1
Applied times-frac0.2
Simplified0.2
rmApplied div-inv0.3
rmApplied sinh-def43.2
Applied associate-*l/43.2
Applied associate-*r/43.2
Simplified0.2
rmApplied *-un-lft-identity0.2
Applied times-frac0.2
Simplified0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2020083 +o rules:numerics
(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))