Average Error: 0.2 → 0.2
Time: 15.2s
Precision: 64
\[\cosh x \cdot \frac{\sin y}{y}\]
\[\cosh x \cdot \frac{1}{\frac{y}{\sin y}}\]
\cosh x \cdot \frac{\sin y}{y}
\cosh x \cdot \frac{1}{\frac{y}{\sin y}}
double f(double x, double y) {
        double r1155813 = x;
        double r1155814 = cosh(r1155813);
        double r1155815 = y;
        double r1155816 = sin(r1155815);
        double r1155817 = r1155816 / r1155815;
        double r1155818 = r1155814 * r1155817;
        return r1155818;
}

double f(double x, double y) {
        double r1155819 = x;
        double r1155820 = cosh(r1155819);
        double r1155821 = 1.0;
        double r1155822 = y;
        double r1155823 = sin(r1155822);
        double r1155824 = r1155822 / r1155823;
        double r1155825 = r1155821 / r1155824;
        double r1155826 = r1155820 * r1155825;
        return r1155826;
}

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. Final simplification0.2

    \[\leadsto \cosh x \cdot \frac{1}{\frac{y}{\sin 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)))