On Thu, Mar 15, 2012 at 11:41 PM, Val Kalatsky <kalat...@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 > --------------------------------------------------------------------- > > In this case (Win64), np.longdouble is just an alias for np.float64: In [16]: sys.version Out[16]: '2.7.2 |EPD 7.2-2 (64-bit)| (default, Sep 14 2011, 11:25:00) [MSC v.1500 64 bit (AMD64)]' In [17]: np.__version__ Out[17]: '1.6.1' In [18]: np.longdouble Out[18]: numpy.float64 Warren > On Thu, Mar 15, 2012 at 11:38 PM, Matthew Brett > <matthew.br...@gmail.com>wrote: > >> Hi, >> >> On Thu, Mar 15, 2012 at 9:33 PM, Val Kalatsky <kalat...@gmail.com> wrote: >> > >> > I just happened to have an xp64 VM running: >> > My version of numpy (1.6.1) does not have float128 (see more below what >> I >> > get in ipython session). >> > If you need to test something else please let me know. >> >> Thanks a lot - that's helpful. What do you get for: >> >> print np.finfo(np.longdouble) >> >> ? >> >> Best, >> >> Matthew >> _______________________________________________ >> NumPy-Discussion mailing list >> NumPy-Discussion@scipy.org >> http://mail.scipy.org/mailman/listinfo/numpy-discussion >> > > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > >
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion