Average Error: 0.1 → 0.1
Time: 13.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 r306443 = x;
        double r306444 = cosh(r306443);
        double r306445 = y;
        double r306446 = sin(r306445);
        double r306447 = r306446 / r306445;
        double r306448 = r306444 * r306447;
        return r306448;
}

double f(double x, double y) {
        double r306449 = x;
        double r306450 = cosh(r306449);
        double r306451 = y;
        double r306452 = sin(r306451);
        double r306453 = r306452 / r306451;
        double r306454 = r306450 * r306453;
        return r306454;
}

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.1
Target0.1
Herbie0.1
\[\frac{\cosh x \cdot \sin y}{y}\]

Derivation

  1. Initial program 0.1

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

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

Reproduce

herbie shell --seed 2019212 +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)))