Average Error: 0.2 → 0.2
Time: 12.1s
Precision: 64
\[\cosh x \cdot \frac{\sin y}{y}\]
\[\cosh x \cdot \frac{\sin y}{y}\]
\cosh x \cdot \frac{\sin y}{y}
\cosh x \cdot \frac{\sin y}{y}
double f(double x, double y) {
        double r11615586 = x;
        double r11615587 = cosh(r11615586);
        double r11615588 = y;
        double r11615589 = sin(r11615588);
        double r11615590 = r11615589 / r11615588;
        double r11615591 = r11615587 * r11615590;
        return r11615591;
}

double f(double x, double y) {
        double r11615592 = x;
        double r11615593 = cosh(r11615592);
        double r11615594 = y;
        double r11615595 = sin(r11615594);
        double r11615596 = r11615595 / r11615594;
        double r11615597 = r11615593 * r11615596;
        return r11615597;
}

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Target

Original0.2
Target0.2
Herbie0.2
\[\frac{\cosh x \cdot \sin y}{y}\]

Derivation

  1. Initial program 0.2

    \[\cosh x \cdot \frac{\sin y}{y}\]
  2. Final simplification0.2

    \[\leadsto \cosh x \cdot \frac{\sin y}{y}\]

Reproduce

herbie shell --seed 2019156 
(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)))