Average Error: 0.2 → 0.2
Time: 14.1s
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 r1227989 = x;
        double r1227990 = cosh(r1227989);
        double r1227991 = y;
        double r1227992 = sin(r1227991);
        double r1227993 = r1227992 / r1227991;
        double r1227994 = r1227990 * r1227993;
        return r1227994;
}

double f(double x, double y) {
        double r1227995 = x;
        double r1227996 = cosh(r1227995);
        double r1227997 = y;
        double r1227998 = sin(r1227997);
        double r1227999 = r1227998 / r1227997;
        double r1228000 = r1227996 * r1227999;
        return r1228000;
}

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. Using strategy rm
  3. Applied clear-num0.2

    \[\leadsto \cosh x \cdot \color{blue}{\frac{1}{\frac{y}{\sin y}}}\]
  4. Taylor expanded around inf 0.2

    \[\leadsto \cosh x \cdot \color{blue}{\frac{\sin y}{y}}\]
  5. Final simplification0.2

    \[\leadsto \cosh x \cdot \frac{\sin y}{y}\]

Reproduce

herbie shell --seed 2020047 
(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)))