Average Error: 0.1 → 0.1
Time: 1.2m
Precision: 64
\[\cosh x \cdot \frac{\sin y}{y}\]
\[\frac{\sin y}{y} \cdot \cosh x\]
\cosh x \cdot \frac{\sin y}{y}
\frac{\sin y}{y} \cdot \cosh x
double f(double x, double y) {
        double r21289501 = x;
        double r21289502 = cosh(r21289501);
        double r21289503 = y;
        double r21289504 = sin(r21289503);
        double r21289505 = r21289504 / r21289503;
        double r21289506 = r21289502 * r21289505;
        return r21289506;
}

double f(double x, double y) {
        double r21289507 = y;
        double r21289508 = sin(r21289507);
        double r21289509 = r21289508 / r21289507;
        double r21289510 = x;
        double r21289511 = cosh(r21289510);
        double r21289512 = r21289509 * r21289511;
        return r21289512;
}

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 \frac{\sin y}{y} \cdot \cosh x\]

Reproduce

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