x
x
(FPCore (x) :precision binary64 x)
(FPCore (x) :precision binary64 x)
double code(double x) {
return x;
}
double code(double x) {
return x;
}





Bits error versus x
Results
| Alternative 1 | |
|---|---|
| Error | 26.8 |
| Cost | 385 |
| Alternative 2 | |
|---|---|
| Error | 57.9 |
| Cost | 64 |

Initial program 0
Simplified0
Final simplification0
herbie shell --seed 2021044
(FPCore (x)
:name "x"
:precision binary64
:pre (or (== x 0.0) (== x 10.0))
x)