Average Error: 0.2 → 0.2
Time: 28.6s
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 r344860 = x;
        double r344861 = cosh(r344860);
        double r344862 = y;
        double r344863 = sin(r344862);
        double r344864 = r344863 / r344862;
        double r344865 = r344861 * r344864;
        return r344865;
}

double f(double x, double y) {
        double r344866 = x;
        double r344867 = cosh(r344866);
        double r344868 = y;
        double r344869 = sin(r344868);
        double r344870 = r344869 / r344868;
        double r344871 = r344867 * r344870;
        return r344871;
}

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 2019322 +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)))