Average Error: 0.2 → 0.2
Time: 6.3s
Precision: 64
Internal Precision: 576
\[\frac{x}{\sqrt{y}}\]
\[x \cdot {y}^{\left(-\frac{1}{2}\right)}\]

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.2

    \[\frac{x}{\sqrt{y}}\]
  2. Using strategy rm
  3. Applied div-inv0.3

    \[\leadsto \color{blue}{x \cdot \frac{1}{\sqrt{y}}}\]
  4. Using strategy rm
  5. Applied pow1/20.3

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

    \[\leadsto x \cdot \color{blue}{{y}^{\left(-\frac{1}{2}\right)}}\]
  7. Final simplification0.2

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

Runtime

Time bar (total: 6.3s)Debug log

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