2012/10/30 Gael Varoquaux <[email protected]>:
> On Mon, Oct 29, 2012 at 05:05:11PM -0400, David Warde-Farley wrote:
>> Comment from the peanut gallery: this seems like a supremely odd
>> function to have, since int32s cannot be safely represented in 32-bit
>> floating point anyway (nor int64s in float64, but there's not much you
>> can do about it without resorting to software arithmetic). In most
>> cases, I would think float64 should be preferred.
>
> We got complaints from users that had their data in 32 bit to save
> memory, and got it converted in 64bit.
>
> Now whether that logic should be applied to ints or only to floats is a
> valid question.

Agree with David, int->float conversion should be expected to produce
larger arrays.

-- 
Lars Buitinck
Scientific programmer, ILPS
University of Amsterdam

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to