Average Error: 0 → 0
Time: 2.1s
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 r216518 = x;
        double r216519 = r216518 + r216518;
        double r216520 = 1.0;
        double r216521 = r216519 - r216520;
        return r216521;
}

double f(double x) {
        double r216522 = x;
        double r216523 = r216522 + r216522;
        double r216524 = 1.0;
        double r216525 = r216523 - r216524;
        return r216525;
}

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