[Numpy-discussion] float96 on windows32 is float64?

Matthew Brett matthew.brett@gmail....
Thu Mar 15 23:52:00 CDT 2012


Hi,

On Thu, Mar 15, 2012 at 9:41 PM, Val Kalatsky <kalatsky@gmail.com> wrote:
> I does look like a joke.
> Here is print np.finfo(np.longdouble)
>
> In [2]: np.__version__
> Out[2]: '1.6.1'
>
> In [3]: np.flo
> np.float        np.float32      np.float_       np.floor
> np.float16      np.float64      np.floating     np.floor_divide
>
> In [3]: print np.finfo(np.longdouble)
> Machine parameters for float64
> ---------------------------------------------------------------------
> precision= 15   resolution= 1e-15
> machep=   -52   eps=        2.22044604925e-16
> negep =   -53   epsneg=     1.11022302463e-16
> minexp= -1022   tiny=       2.22507385851e-308
> maxexp=  1024   max=        1.79769313486e+308
> nexp  =    11   min=        -max
> ---------------------------------------------------------------------

Great - much easier on the eye - longdouble is float64 as expected.

Thanks,

Matthew


More information about the NumPy-Discussion mailing list