Average Error: 0.0 → 0.0
Time: 3.1s
Precision: 64
\[\frac{x + y}{y + 1}\]
\[\frac{x + y}{y + 1}\]
\frac{x + y}{y + 1}
\frac{x + y}{y + 1}
double f(double x, double y) {
        double r257833 = x;
        double r257834 = y;
        double r257835 = r257833 + r257834;
        double r257836 = 1.0;
        double r257837 = r257834 + r257836;
        double r257838 = r257835 / r257837;
        return r257838;
}

double f(double x, double y) {
        double r257839 = x;
        double r257840 = y;
        double r257841 = r257839 + r257840;
        double r257842 = 1.0;
        double r257843 = r257840 + r257842;
        double r257844 = r257841 / r257843;
        return r257844;
}

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}{y + 1}\]
  2. Final simplification0.0

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

Reproduce

herbie shell --seed 2020018 
(FPCore (x y)
  :name "Data.Colour.SRGB:invTransferFunction from colour-2.3.3"
  :precision binary64
  (/ (+ x y) (+ y 1)))