Average Error: 0 → 0
Time: 7.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 r12196797 = x;
        double r12196798 = r12196797 + r12196797;
        double r12196799 = 1.0;
        double r12196800 = r12196798 - r12196799;
        return r12196800;
}

double f(double x) {
        double r12196801 = x;
        double r12196802 = r12196801 + r12196801;
        double r12196803 = 1.0;
        double r12196804 = r12196802 - r12196803;
        return r12196804;
}

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