Average Error: 0.1 → 0.1
Time: 6.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 r588370 = x;
        double r588371 = cosh(r588370);
        double r588372 = y;
        double r588373 = sin(r588372);
        double r588374 = r588373 / r588372;
        double r588375 = r588371 * r588374;
        return r588375;
}

double f(double x, double y) {
        double r588376 = x;
        double r588377 = cosh(r588376);
        double r588378 = y;
        double r588379 = sin(r588378);
        double r588380 = r588379 / r588378;
        double r588381 = r588377 * r588380;
        return r588381;
}

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