rre/windows: no longer define round()

FossilOrigin-Name: d736a60dcb2257fe74be5f5a97f00cdaa9995823d36d31008ed77736532fce00
This commit is contained in:
crc 2018-04-18 16:34:07 +00:00
parent 4b4b84c116
commit 4b5053b5e4

View file

@ -478,18 +478,6 @@ int is_even(double d) {
return 2.0 * int_part == d;
}
double round(double d) {
double i = floor(d);
d -= i;
if(d < 0.5)
return i;
if(d > 0.5)
return i + 1.0;
if(is_even(i))
return i;
return i + 1.0;
}
void float_push(double value) {
fsp++;
Floats[fsp] = value;