Average Error: 7.7 → 7.7
Time: 31.5s
Precision: 64
Internal Precision: 1088
\[1 - \frac{r + a \cdot \varepsilon}{q + \varepsilon}\]
\[1 - \frac{r + a \cdot \varepsilon}{q + \varepsilon}\]

Error

Bits error versus r

Bits error versus a

Bits error versus eps

Bits error versus q

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 7.7

    \[1 - \frac{r + a \cdot \varepsilon}{q + \varepsilon}\]

Runtime

Time bar (total: 31.5s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (r a eps q)
  :name "1 - (r+a*eps)/(q+eps)"
  (- 1 (/ (+ r (* a eps)) (+ q eps))))