[Numpy-discussion] Minimum dtype
Robert Kern
robert.kern at gmail.com
Tue Nov 25 22:58:34 EST 2008
On Tue, Nov 25, 2008 at 21:57, Ryan May <rmay31 at gmail.com> wrote:
> Hi,
>
> I'm running on a 64-bit machine, and see the following:
>
> >numpy.array(64.6).dtype
> dtype('float64')
>
> >numpy.array(64).dtype
> dtype('int64')
>
> Is there any function/setting to make these default to 32-bit types
> except where necessary?
Nope.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the NumPy-Discussion
mailing list