Average Error: 0.0 → 0.0
Time: 1.2s
Precision: binary64
\[{\left(x \cdot 0.5\right)}^{0.5}\]
\[{\left(x \cdot 0.5\right)}^{0.5}\]
{\left(x \cdot 0.5\right)}^{0.5}
{\left(x \cdot 0.5\right)}^{0.5}
double code(double x) {
	return ((double) pow(((double) (x * 0.5)), 0.5));
}
double code(double x) {
	return ((double) pow(((double) (x * 0.5)), 0.5));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[{\left(x \cdot 0.5\right)}^{0.5}\]
  2. Final simplification0.0

    \[\leadsto {\left(x \cdot 0.5\right)}^{0.5}\]

Reproduce

herbie shell --seed 2020152 
(FPCore (x)
  :name "(pow (* x 0.5) 0.5)"
  :precision binary64
  (pow (* x 0.5) 0.5))