Average Error: 0.0 → 0.1
Time: 5.4s
Precision: binary64
\[\cos x \cdot \frac{\sinh y}{y} \]
\[\cos x \cdot \sqrt[3]{{\left(\frac{\sinh y}{y}\right)}^{3}} \]
\cos x \cdot \frac{\sinh y}{y}
\cos x \cdot \sqrt[3]{{\left(\frac{\sinh y}{y}\right)}^{3}}
(FPCore (x y) :precision binary64 (* (cos x) (/ (sinh y) y)))
(FPCore (x y) :precision binary64 (* (cos x) (cbrt (pow (/ (sinh y) y) 3.0))))
double code(double x, double y) {
	return cos(x) * (sinh(y) / y);
}
double code(double x, double y) {
	return cos(x) * cbrt(pow((sinh(y) / y), 3.0));
}

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

    \[\cos x \cdot \frac{\sinh y}{y} \]
  2. Applied egg-rr0.1

    \[\leadsto \cos x \cdot \color{blue}{\sqrt[3]{{\left(\frac{\sinh y}{y}\right)}^{3}}} \]
  3. Final simplification0.1

    \[\leadsto \cos x \cdot \sqrt[3]{{\left(\frac{\sinh y}{y}\right)}^{3}} \]

Reproduce

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