On Thu, Feb 27, 2020 at 4:49 AM Hameer Abbasi <[email protected]> wrote:
> Hello, Ilhan, > > > > *From: *NumPy-Discussion <numpy-discussion-bounces+einstein.edison= > [email protected]> on behalf of Ilhan Polat <[email protected]> > *Reply to: *Discussion of Numerical Python <[email protected]> > *Date: *Thursday, 27. February 2020 at 08:41 > *To: *Discussion of Numerical Python <[email protected]> > *Subject: *Re: [Numpy-discussion] Output type of round is inconsistent > with python built-in > > > > Oh sorry. That's trigger finger np-dotting. > > > > What i mean is if someone was using the round method on float32 or other > small bit datatypes they would have a silent upcasting. > > > > No they won’t. The only affected types would be scalars, and that too only > with the built-in Python round. > Just to be clear, his example _did_ use numpy scalars. -- Robert Kern
_______________________________________________ NumPy-Discussion mailing list [email protected] https://mail.python.org/mailman/listinfo/numpy-discussion
