Average Error: 0 → 0
Time: 2.7s
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 r169673 = x;
        double r169674 = r169673 + r169673;
        double r169675 = 1.0;
        double r169676 = r169674 - r169675;
        return r169676;
}

double f(double x) {
        double r169677 = x;
        double r169678 = r169677 + r169677;
        double r169679 = 1.0;
        double r169680 = r169678 - r169679;
        return r169680;
}

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