Average Error: 0 → 0
Time: 19.5s
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 r12283740 = x;
        double r12283741 = r12283740 + r12283740;
        double r12283742 = 1.0;
        double r12283743 = r12283741 - r12283742;
        return r12283743;
}

double f(double x) {
        double r12283744 = x;
        double r12283745 = r12283744 + r12283744;
        double r12283746 = 1.0;
        double r12283747 = r12283745 - r12283746;
        return r12283747;
}

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