Average Error: 0.1 → 0.1
Time: 20.3s
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 r34400627 = x;
        double r34400628 = cosh(r34400627);
        double r34400629 = y;
        double r34400630 = sin(r34400629);
        double r34400631 = r34400630 / r34400629;
        double r34400632 = r34400628 * r34400631;
        return r34400632;
}

double f(double x, double y) {
        double r34400633 = x;
        double r34400634 = cosh(r34400633);
        double r34400635 = y;
        double r34400636 = sin(r34400635);
        double r34400637 = r34400636 / r34400635;
        double r34400638 = r34400634 * r34400637;
        return r34400638;
}

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