Average Error: 0.1 → 0.1
Time: 26.8s
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 r403121 = x;
        double r403122 = cosh(r403121);
        double r403123 = y;
        double r403124 = sin(r403123);
        double r403125 = r403124 / r403123;
        double r403126 = r403122 * r403125;
        return r403126;
}

double f(double x, double y) {
        double r403127 = x;
        double r403128 = cosh(r403127);
        double r403129 = y;
        double r403130 = sin(r403129);
        double r403131 = r403130 / r403129;
        double r403132 = r403128 * r403131;
        return r403132;
}

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