Average Error: 0 → 0
Time: 2.1s
Precision: 64
\[\left(x + x\right) - 1\]
\[\left(x + x\right) - 1\]
\left(x + x\right) - 1
\left(x + x\right) - 1
double f(double x) {
        double r211639 = x;
        double r211640 = r211639 + r211639;
        double r211641 = 1.0;
        double r211642 = r211640 - r211641;
        return r211642;
}

double f(double x) {
        double r211643 = x;
        double r211644 = r211643 + r211643;
        double r211645 = 1.0;
        double r211646 = r211644 - r211645;
        return r211646;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0

    \[\left(x + x\right) - 1\]
  2. Final simplification0

    \[\leadsto \left(x + x\right) - 1\]

Reproduce

herbie shell --seed 2019196 
(FPCore (x)
  :name "Data.Random.Distribution.Normal:doubleStdNormalZ from random-fu-0.2.6.2"
  (- (+ x x) 1.0))