Average Error: 0.1 → 0.1
Time: 7.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 r480940 = x;
        double r480941 = cosh(r480940);
        double r480942 = y;
        double r480943 = sin(r480942);
        double r480944 = r480943 / r480942;
        double r480945 = r480941 * r480944;
        return r480945;
}

double f(double x, double y) {
        double r480946 = x;
        double r480947 = cosh(r480946);
        double r480948 = y;
        double r480949 = sin(r480948);
        double r480950 = r480949 / r480948;
        double r480951 = r480947 * r480950;
        return r480951;
}

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