Average Error: 0.2 → 0.2
Time: 17.5s
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 r26704824 = x;
        double r26704825 = cosh(r26704824);
        double r26704826 = y;
        double r26704827 = sin(r26704826);
        double r26704828 = r26704827 / r26704826;
        double r26704829 = r26704825 * r26704828;
        return r26704829;
}

double f(double x, double y) {
        double r26704830 = x;
        double r26704831 = cosh(r26704830);
        double r26704832 = y;
        double r26704833 = sin(r26704832);
        double r26704834 = r26704833 / r26704832;
        double r26704835 = r26704831 * r26704834;
        return r26704835;
}

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 2019179 
(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)))