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 r183695 = x;
        double r183696 = r183695 + r183695;
        double r183697 = 1.0;
        double r183698 = r183696 - r183697;
        return r183698;
}

double f(double x) {
        double r183699 = x;
        double r183700 = r183699 + r183699;
        double r183701 = 1.0;
        double r183702 = r183700 - r183701;
        return r183702;
}

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