Average Error: 15.1 → 15.1
Time: 812.0ms
Precision: binary64
\[\frac{\tan^{-1} x - x}{x}\]
\[\frac{\tan^{-1} x - x}{x}\]
\frac{\tan^{-1} x - x}{x}
\frac{\tan^{-1} x - x}{x}
double code(double x) {
	return ((double) (((double) (((double) atan(x)) - x)) / x));
}
double code(double x) {
	return ((double) (((double) (((double) atan(x)) - x)) / x));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 15.1

    \[\frac{\tan^{-1} x - x}{x}\]
  2. Final simplification15.1

    \[\leadsto \frac{\tan^{-1} x - x}{x}\]

Reproduce

herbie shell --seed 2020152 
(FPCore (x)
  :name "(/ (- (atan x) x) x)"
  :precision binary64
  (/ (- (atan x) x) x))