mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue 24366: Merge 3.4
This commit is contained in:
commit
72ea27c89b
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ round(double x)
|
|||
absx = fabs(x);
|
||||
y = floor(absx);
|
||||
if (absx - y >= 0.5)
|
||||
y += 1.0;
|
||||
y += 1.0;
|
||||
return copysign(y, x);
|
||||
}
|
||||
#endif /* HAVE_ROUND */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue