mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Make _PyTime_RoundHalfEven() private again
This commit is contained in:
parent
17ebaa93d4
commit
ce6aa749b4
2 changed files with 3 additions and 6 deletions
|
@ -60,7 +60,9 @@ _PyLong_FromTime_t(time_t t)
|
|||
#endif
|
||||
}
|
||||
|
||||
double
|
||||
/* Round to nearest with ties going to nearest even integer
|
||||
(_PyTime_ROUND_HALF_EVEN) */
|
||||
static double
|
||||
_PyTime_RoundHalfEven(double x)
|
||||
{
|
||||
double rounded = round(x);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue