\mathsf{round} x\mathsf{round} xdouble code(double x) {
return ((double) round(x));
}
double code(double x) {
return ((double) round(x));
}



Bits error versus x
Results
Initial program 0
Final simplification0
herbie shell --seed 2020153
(FPCore (x)
:name "(round x)"
:precision binary64
(round x))