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 r161098 = x;
        double r161099 = r161098 + r161098;
        double r161100 = 1.0;
        double r161101 = r161099 - r161100;
        return r161101;
}

double f(double x) {
        double r161102 = x;
        double r161103 = r161102 + r161102;
        double r161104 = 1.0;
        double r161105 = r161103 - r161104;
        return r161105;
}

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 2019195 
(FPCore (x)
  :name "Data.Random.Distribution.Normal:doubleStdNormalZ from random-fu-0.2.6.2"
  (- (+ x x) 1.0))