Hello,

Is it normal, expected and desired that :


     round(numpy.float64(0.0)) is a numpy.float64


while

     round(numpy.float(0.0)) is an integer?


I find it disturbing and misleading. What do you think? Has it already been discussed somewhere else?


Best regards,


Olivier

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion

Reply via email to