Average Error: 0.1 → 0.1
Time: 16.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 r317179 = x;
        double r317180 = cosh(r317179);
        double r317181 = y;
        double r317182 = sin(r317181);
        double r317183 = r317182 / r317181;
        double r317184 = r317180 * r317183;
        return r317184;
}

double f(double x, double y) {
        double r317185 = x;
        double r317186 = cosh(r317185);
        double r317187 = y;
        double r317188 = sin(r317187);
        double r317189 = r317188 / r317187;
        double r317190 = r317186 * r317189;
        return r317190;
}

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