Average Error: 0.0 → 0.0
Time: 12.8s
Precision: 64
\[\frac{x}{y + x}\]
\[\frac{x}{y + x}\]
\frac{x}{y + x}
\frac{x}{y + x}
double f(double x, double y) {
        double r175302 = x;
        double r175303 = y;
        double r175304 = r175303 + r175302;
        double r175305 = r175302 / r175304;
        return r175305;
}

double f(double x, double y) {
        double r175306 = x;
        double r175307 = y;
        double r175308 = r175307 + r175306;
        double r175309 = r175306 / r175308;
        return r175309;
}

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

    \[\frac{x}{y + x}\]
  2. Final simplification0.0

    \[\leadsto \frac{x}{y + x}\]

Reproduce

herbie shell --seed 2019235 +o rules:numerics
(FPCore (x y)
  :name "AI.Clustering.Hierarchical.Internal:average from clustering-0.2.1, B"
  :precision binary64
  (/ x (+ y x)))