Average Error: 0.2 → 0.2
Time: 23.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 r22505376 = x;
        double r22505377 = cosh(r22505376);
        double r22505378 = y;
        double r22505379 = sin(r22505378);
        double r22505380 = r22505379 / r22505378;
        double r22505381 = r22505377 * r22505380;
        return r22505381;
}

double f(double x, double y) {
        double r22505382 = x;
        double r22505383 = cosh(r22505382);
        double r22505384 = y;
        double r22505385 = sin(r22505384);
        double r22505386 = r22505385 / r22505384;
        double r22505387 = r22505383 * r22505386;
        return r22505387;
}

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