Average Error: 0 → 0
Time: 803.0ms
Precision: binary64
\[{h1}^{2}\]
\[{h1}^{2}\]
{h1}^{2}
{h1}^{2}
double code(double h1) {
	return ((double) pow(h1, 2.0));
}
double code(double h1) {
	return ((double) pow(h1, 2.0));
}

Error

Bits error versus h1

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0

    \[{h1}^{2}\]
  2. Final simplification0

    \[\leadsto {h1}^{2}\]

Reproduce

herbie shell --seed 2020152 
(FPCore (h1)
  :name "(pow h1 2)"
  :precision binary64
  (pow h1 2.0))