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

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.3

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

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

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

Runtime

Time bar (total: 30.7s)Debug log

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