Average Error: 0.0 → 0.0
Time: 31.1s
Precision: binary64
\[\cosh x \cdot \cosh y - \left(\cos \left(a - b\right) \cdot \sinh x\right) \cdot \sinh y\]
\[\cosh x \cdot \cosh y - \left(\cos \left(a - b\right) \cdot \sinh x\right) \cdot \sinh y\]
\cosh x \cdot \cosh y - \left(\cos \left(a - b\right) \cdot \sinh x\right) \cdot \sinh y
\cosh x \cdot \cosh y - \left(\cos \left(a - b\right) \cdot \sinh x\right) \cdot \sinh y
double code(double x, double y, double a, double b) {
	return ((double) (((double) (((double) cosh(x)) * ((double) cosh(y)))) - ((double) (((double) (((double) cos(((double) (a - b)))) * ((double) sinh(x)))) * ((double) sinh(y))))));
}
double code(double x, double y, double a, double b) {
	return ((double) (((double) (((double) cosh(x)) * ((double) cosh(y)))) - ((double) (((double) (((double) cos(((double) (a - b)))) * ((double) sinh(x)))) * ((double) sinh(y))))));
}

Error

Bits error versus x

Bits error versus y

Bits error versus a

Bits error versus b

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\cosh x \cdot \cosh y - \left(\cos \left(a - b\right) \cdot \sinh x\right) \cdot \sinh y\]
  2. Final simplification0.0

    \[\leadsto \cosh x \cdot \cosh y - \left(\cos \left(a - b\right) \cdot \sinh x\right) \cdot \sinh y\]

Reproduce

herbie shell --seed 2020152 
(FPCore (x y a b)
  :name "(- (* (cosh x) (cosh y)) (* (* (cos (- a b)) (sinh x)) (sinh y)))"
  :precision binary64
  (- (* (cosh x) (cosh y)) (* (* (cos (- a b)) (sinh x)) (sinh y))))