Average Error: 0.3 → 0
Time: 3.6s
Precision: 64
Internal Precision: 576
\[\frac{1}{\sqrt{x}}\]
\[{x}^{\left(-\frac{1}{2}\right)}\]

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.3

    \[\frac{1}{\sqrt{x}}\]
  2. Using strategy rm
  3. Applied pow1/20.3

    \[\leadsto \frac{1}{\color{blue}{{x}^{\frac{1}{2}}}}\]
  4. Applied pow-flip0

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

Runtime

Time bar (total: 3.6s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (x)
  :name "1/sqrt(x)"
  (/ 1 (sqrt x)))