Average Error: 0.1 → 0.1
Time: 5.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 r523916 = x;
        double r523917 = cosh(r523916);
        double r523918 = y;
        double r523919 = sin(r523918);
        double r523920 = r523919 / r523918;
        double r523921 = r523917 * r523920;
        return r523921;
}

double f(double x, double y) {
        double r523922 = x;
        double r523923 = cosh(r523922);
        double r523924 = y;
        double r523925 = sin(r523924);
        double r523926 = r523925 / r523924;
        double r523927 = r523923 * r523926;
        return r523927;
}

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