Average Error: 0.2 → 0.2
Time: 16.9s
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 r425724 = x;
        double r425725 = cosh(r425724);
        double r425726 = y;
        double r425727 = sin(r425726);
        double r425728 = r425727 / r425726;
        double r425729 = r425725 * r425728;
        return r425729;
}

double f(double x, double y) {
        double r425730 = x;
        double r425731 = cosh(r425730);
        double r425732 = y;
        double r425733 = sin(r425732);
        double r425734 = r425733 / r425732;
        double r425735 = r425731 * r425734;
        return r425735;
}

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 2020047 +o rules:numerics
(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)))