Average Error: 0.2 → 0.2
Time: 1.5s
Precision: binary64
\[\]
\[\]
double code(double x) {
	return ((double) (((double) (((double) (x * x)) - 3.0)) / 6.0));
}
double code(double x) {
	return ((double) (((double) (((double) (x * x)) - 3.0)) / 6.0));
}

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

    \[\]
  2. Final simplification0.2

    \[\leadsto \]

Reproduce

herbie shell --seed 2020192 
(FPCore (x)
  :name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, H"
  :precision binary64
  (/ (- (* x x) 3.0) 6.0))