Average Error: 0.2 → 0.2
Time: 2.0s
Precision: binary64
\[1 + \left(\sin x \cdot \cos x\right) \cdot \tan^{-1} x\]
\[1 + \left(\sin x \cdot \cos x\right) \cdot \tan^{-1} x\]
1 + \left(\sin x \cdot \cos x\right) \cdot \tan^{-1} x
1 + \left(\sin x \cdot \cos x\right) \cdot \tan^{-1} x
double code(double x) {
	return ((double) (1.0 + ((double) (((double) (((double) sin(x)) * ((double) cos(x)))) * ((double) atan(x))))));
}
double code(double x) {
	return ((double) (1.0 + ((double) (((double) (((double) sin(x)) * ((double) cos(x)))) * ((double) atan(x))))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.2

    \[1 + \left(\sin x \cdot \cos x\right) \cdot \tan^{-1} x\]
  2. Final simplification0.2

    \[\leadsto 1 + \left(\sin x \cdot \cos x\right) \cdot \tan^{-1} x\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x)
  :name "(+ 1 (* (* (sin x) (cos x)) (atan x)))"
  :precision binary64
  (+ 1.0 (* (* (sin x) (cos x)) (atan x))))