Commit e1268575 authored by Yury Selivanov's avatar Yury Selivanov

Issue 24366: Merge 3.3

parents 96cf848a 614bfcc9
...@@ -73,7 +73,7 @@ round(double x) ...@@ -73,7 +73,7 @@ round(double x)
absx = fabs(x); absx = fabs(x);
y = floor(absx); y = floor(absx);
if (absx - y >= 0.5) if (absx - y >= 0.5)
y += 1.0; y += 1.0;
return copysign(y, x); return copysign(y, x);
} }
#endif /* HAVE_ROUND */ #endif /* HAVE_ROUND */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment