Average Error: 0.0 → 0.0
Time: 34.5s
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 r161834 = x;
        double r161835 = sin(r161834);
        double r161836 = y;
        double r161837 = sinh(r161836);
        double r161838 = r161837 / r161836;
        double r161839 = r161835 * r161838;
        return r161839;
}

double f(double x, double y) {
        double r161840 = y;
        double r161841 = sinh(r161840);
        double r161842 = r161841 / r161840;
        double r161843 = x;
        double r161844 = sin(r161843);
        double r161845 = r161842 * r161844;
        return r161845;
}

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 *-commutative0.0

    \[\leadsto \color{blue}{\frac{\sinh y}{y} \cdot \sin x}\]
  4. Final simplification0.0

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

Reproduce

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