\left(x + x\right) - 1
\left(x + x\right) - 1
(FPCore (x) :precision binary64 (- (+ x x) 1.0))
(FPCore (x) :precision binary64 (- (+ x x) 1.0))
double code(double x) {
return (x + x) - 1.0;
}
double code(double x) {
return (x + x) - 1.0;
}



Bits error versus x
Results
Initial program 0
Final simplification0
herbie shell --seed 2020224
(FPCore (x)
:name "Data.Random.Distribution.Normal:doubleStdNormalZ from random-fu-0.2.6.2"
:precision binary64
(- (+ x x) 1.0))