Average Error: 0.1 → 0.1
Time: 28.0s
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 r23989431 = x;
        double r23989432 = cosh(r23989431);
        double r23989433 = y;
        double r23989434 = sin(r23989433);
        double r23989435 = r23989434 / r23989433;
        double r23989436 = r23989432 * r23989435;
        return r23989436;
}

double f(double x, double y) {
        double r23989437 = x;
        double r23989438 = cosh(r23989437);
        double r23989439 = y;
        double r23989440 = sin(r23989439);
        double r23989441 = r23989440 / r23989439;
        double r23989442 = r23989438 * r23989441;
        return r23989442;
}

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