Average Error: 0.0 → 0.0
Time: 3.3s
Precision: 64
Internal Precision: 576
\[\left\lfloor\frac{x + \frac{5}{x}}{2}\right\rfloor\]
\[\left\lfloor\frac{x + \frac{5}{x}}{2}\right\rfloor\]

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\left\lfloor\frac{x + \frac{5}{x}}{2}\right\rfloor\]

Runtime

Time bar (total: 3.3s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (x)
  :name "floor((x+5/x)/2)"
  (floor (/ (+ x (/ 5 x)) 2)))