Average Error: 0.0 → 0.0
Time: 12.3s
Precision: 64
\[\sin x \cdot \frac{\sinh y}{y}\]
\[\frac{\sinh y}{y} \cdot \sin x\]
\sin x \cdot \frac{\sinh y}{y}
\frac{\sinh y}{y} \cdot \sin x
double f(double x, double y) {
        double r106564 = x;
        double r106565 = sin(r106564);
        double r106566 = y;
        double r106567 = sinh(r106566);
        double r106568 = r106567 / r106566;
        double r106569 = r106565 * r106568;
        return r106569;
}

double f(double x, double y) {
        double r106570 = y;
        double r106571 = sinh(r106570);
        double r106572 = r106571 / r106570;
        double r106573 = x;
        double r106574 = sin(r106573);
        double r106575 = r106572 * r106574;
        return r106575;
}

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\sin x \cdot \frac{\sinh y}{y}\]
  2. Using strategy rm
  3. Applied add-sqr-sqrt0.1

    \[\leadsto \sin x \cdot \color{blue}{\left(\sqrt{\frac{\sinh y}{y}} \cdot \sqrt{\frac{\sinh y}{y}}\right)}\]
  4. Applied associate-*r*0.1

    \[\leadsto \color{blue}{\left(\sin x \cdot \sqrt{\frac{\sinh y}{y}}\right) \cdot \sqrt{\frac{\sinh y}{y}}}\]
  5. Final simplification0.0

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

Reproduce

herbie shell --seed 2019298 
(FPCore (x y)
  :name "Linear.Quaternion:$ccos from linear-1.19.1.3"
  :precision binary64
  (* (sin x) (/ (sinh y) y)))