Against PEP 240

Oleg Broytmann phd at phd.fep.ru
Tue May 29 10:43:28 EDT 2001


On Tue, 29 May 2001, Alex Martelli wrote:
> "Oleg Broytmann" <phd at phd.fep.ru> wrote in message
> news:mailman.991135091.17843.python-list at python.org...
> > On Tue, 29 May 2001, Roman Suzi wrote:
> > > I wonder, why at all need such things?  Are there any standard library
> for
> > > inf-precision in current Python version?  If so, was it tested long
> > > enough?
> > >
> > > (If such standard library exists, please, remind me it's name. Thanks)
> >
> >    mpz -- GNU arbitrary magnitude integers. This is a wrapper for GNU mp
> > (multiprecision) library.
>
> But what does it deliver (apart from speed -- maybe a few extra
> functions?) wrt Python's portable built-in "long"s?  I wrapped
> GMP again (http://gmpy.sourceforge.net) to expose all functions,
> and the mpr (rationals) and mpf (floating point) as well as mpz
> (integer) unlimited-precision types.

   I don't know. The question was "is there are infinite-precision
arithmetics". And the answer is "yes, there is".

Oleg.
----
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list