Average Error: 0.0 → 0.0
Time: 859.0ms
Precision: binary64
\[{\left(1 - t\right)}^{3}\]
\[{\left(1 - t\right)}^{3}\]
{\left(1 - t\right)}^{3}
{\left(1 - t\right)}^{3}
double code(double t) {
	return ((double) pow(((double) (1.0 - t)), 3.0));
}
double code(double t) {
	return ((double) pow(((double) (1.0 - t)), 3.0));
}

Error

Bits error versus t

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[{\left(1 - t\right)}^{3}\]
  2. Final simplification0.0

    \[\leadsto {\left(1 - t\right)}^{3}\]

Reproduce

herbie shell --seed 2020153 
(FPCore (t)
  :name "(pow (- 1 t) 3)"
  :precision binary64
  (pow (- 1.0 t) 3.0))