Average Error: 0 → 0
Time: 2.0s
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 r212869 = x;
        double r212870 = r212869 + r212869;
        double r212871 = 1.0;
        double r212872 = r212870 - r212871;
        return r212872;
}

double f(double x) {
        double r212873 = x;
        double r212874 = r212873 + r212873;
        double r212875 = 1.0;
        double r212876 = r212874 - r212875;
        return r212876;
}

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