Average Error: 0.1 → 0.1
Time: 5.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 r656009 = x;
        double r656010 = cosh(r656009);
        double r656011 = y;
        double r656012 = sin(r656011);
        double r656013 = r656012 / r656011;
        double r656014 = r656010 * r656013;
        return r656014;
}

double f(double x, double y) {
        double r656015 = x;
        double r656016 = cosh(r656015);
        double r656017 = y;
        double r656018 = sin(r656017);
        double r656019 = r656018 / r656017;
        double r656020 = r656016 * r656019;
        return r656020;
}

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