-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Closed
Description
np.rint(-0.0)
correctly returns -0.0
on Linux and Windows64, but not on Windows32:
Python 3.4.4 |Continuum Analytics, Inc.| (default, Jan 11 2016, 13:44:19) [MSC v
.1600 32 bit (Intel)]
Type "copyright", "credits" or "license" for more information.
IPython 4.0.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import numpy as np
In [2]: np.floor(-0.0)
Out[2]: -0.0
In [3]: np.rint(0.0)
Out[3]: 0.0
Metadata
Metadata
Assignees
Labels
No labels