Average Error: 0 → 0
Time: 2.3s
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 r194782 = x;
        double r194783 = r194782 + r194782;
        double r194784 = 1.0;
        double r194785 = r194783 - r194784;
        return r194785;
}

double f(double x) {
        double r194786 = x;
        double r194787 = r194786 + r194786;
        double r194788 = 1.0;
        double r194789 = r194787 - r194788;
        return r194789;
}

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