Average Error: 15.0 → 15.0
Time: 909.0ms
Precision: binary64
\[\frac{1}{\sqrt{{\left(x - 10\right)}^{2}}}\]
\[\frac{1}{\sqrt{{\left(x - 10\right)}^{2}}}\]
\frac{1}{\sqrt{{\left(x - 10\right)}^{2}}}
\frac{1}{\sqrt{{\left(x - 10\right)}^{2}}}
double code(double x) {
	return ((double) (1.0 / ((double) sqrt(((double) pow(((double) (x - 10.0)), 2.0))))));
}
double code(double x) {
	return ((double) (1.0 / ((double) sqrt(((double) pow(((double) (x - 10.0)), 2.0))))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 15.0

    \[\frac{1}{\sqrt{{\left(x - 10\right)}^{2}}}\]
  2. Final simplification15.0

    \[\leadsto \frac{1}{\sqrt{{\left(x - 10\right)}^{2}}}\]

Reproduce

herbie shell --seed 2020152 
(FPCore (x)
  :name "(/ 1 (sqrt (pow (- x 10) 2)))"
  :precision binary64
  (/ 1.0 (sqrt (pow (- x 10.0) 2.0))))