On Thu, Feb 27, 2020 at 4:49 AM Hameer Abbasi <einstein.edi...@gmail.com> wrote:
> Hello, Ilhan, > > > > *From: *NumPy-Discussion <numpy-discussion-bounces+einstein.edison= > gmail....@python.org> on behalf of Ilhan Polat <ilhanpo...@gmail.com> > *Reply to: *Discussion of Numerical Python <numpy-discussion@python.org> > *Date: *Thursday, 27. February 2020 at 08:41 > *To: *Discussion of Numerical Python <numpy-discussion@python.org> > *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 NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion