Against PEP 240

Alex Martelli aleaxit at yahoo.com
Tue May 29 15:00:19 EDT 2001


"Roman Suzi" <rnd at onego.ru> writes:
    ...
> >not "standard", if you mean "distributed with Python"...?
> 
> I just wanted to know if arbitrary precision floats are possible
> under current Python version ('cause they are useful sometimes,
> but not to such extent to replace usual floats!).
> 
> By 'standard' I mean distributed with Python.
> 
> Thanks for info on gmpy!

OK, but gmpy doesn't come with Python and no doubt never will
(as it relies on GMP, which is LGPL'd at least).  Note that floats of
arbitrary precision in the GMP I wrapped are 'chunky' -- you can
specify how many bits you want, but you'll typically get more.  A
separate library called MPFR (if I recall correctly) does give you
exactly as many bits as you ask for, and provide trascendentals,
but I didn't (yet) wrap that one (no Windows port -- yet).


Alex



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





More information about the Python-list mailing list