Average Error: 0.8 → 0.8
Time: 599.0ms
Precision: binary64
\[\frac{0.10000000000000001}{{\left(9.99999999999999955 \cdot 10^{-7} + x\right)}^{2}}\]
\[\frac{0.10000000000000001}{{\left(9.99999999999999955 \cdot 10^{-7} + x\right)}^{2}}\]
\frac{0.10000000000000001}{{\left(9.99999999999999955 \cdot 10^{-7} + x\right)}^{2}}
\frac{0.10000000000000001}{{\left(9.99999999999999955 \cdot 10^{-7} + x\right)}^{2}}
double code(double x) {
	return ((double) (0.1 / ((double) pow(((double) (1e-06 + x)), 2.0))));
}
double code(double x) {
	return ((double) (0.1 / ((double) pow(((double) (1e-06 + x)), 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 0.8

    \[\frac{0.10000000000000001}{{\left(9.99999999999999955 \cdot 10^{-7} + x\right)}^{2}}\]
  2. Final simplification0.8

    \[\leadsto \frac{0.10000000000000001}{{\left(9.99999999999999955 \cdot 10^{-7} + x\right)}^{2}}\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x)
  :name "(/ 0.1 (pow (+ 1e-06 x) 2))"
  :precision binary64
  (/ 0.1 (pow (+ 1e-06 x) 2.0)))