Average Error: 0.2 → 0.2
Time: 10.5s
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 r388639 = x;
        double r388640 = cosh(r388639);
        double r388641 = y;
        double r388642 = sin(r388641);
        double r388643 = r388642 / r388641;
        double r388644 = r388640 * r388643;
        return r388644;
}

double f(double x, double y) {
        double r388645 = x;
        double r388646 = cosh(r388645);
        double r388647 = y;
        double r388648 = sin(r388647);
        double r388649 = r388648 / r388647;
        double r388650 = r388646 * r388649;
        return r388650;
}

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