Average Error: 0.1 → 0.1
Time: 26.4s
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 r21297206 = x;
        double r21297207 = cosh(r21297206);
        double r21297208 = y;
        double r21297209 = sin(r21297208);
        double r21297210 = r21297209 / r21297208;
        double r21297211 = r21297207 * r21297210;
        return r21297211;
}

double f(double x, double y) {
        double r21297212 = x;
        double r21297213 = cosh(r21297212);
        double r21297214 = y;
        double r21297215 = sin(r21297214);
        double r21297216 = r21297215 / r21297214;
        double r21297217 = r21297213 * r21297216;
        return r21297217;
}

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 2019172 
(FPCore (x y)
  :name "Linear.Quaternion:$csinh from linear-1.19.1.3"

  :herbie-target
  (/ (* (cosh x) (sin y)) y)

  (* (cosh x) (/ (sin y) y)))