-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Another day, another update. Latest code: http://umass.glexia.net/mpf.tar.bz2
There's been a couple minor changes externally:
a) MPF() now takes a float or integer argument because mpf_set_str is just
wacky and I haven't gotten it working properly y
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've uploaded the latest code to http://umass.glexia.net/mpf.tar.bz2
Here's a quick rundown of supported functions and operations.
The MPF() constructor accepts a string and an optional keyword
argument, prec, specifying precision (as a Long).
Suppo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tue, 25 Sep 2007 10:18:50 -0700
"Guido van Rossum" <[EMAIL PROTECTED]> wrote:
> On 9/25/07, Mark Summerfield <[EMAIL PROTECTED]> wrote:
> > I can understand your personal preference for dict, although mine is for
> > sorteddict---but IMO Python sho
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've uploaded the latest code to http://umass.glexia.net/mpf.tar.bz2
It's been cleaned up, implements a little bit of the abstract number interface,
many very repetitive function declarations were turned into macros making it
far easier to maintain,
Okay, here's the barebones, scrapped together version. It's ugly. It's
messy. It might eat your kids. On the other hand, it seems to work.
http://umass.glexia.net/mpf.tar.bz2
It provides a module, mpf, with an MPF type and a bunch of methods.
You can directly set the value of an MPF type by setti
This is the documentation for PyNumberMethods right now.
PyNumberMethods *tp_as_number;
XXX
I've managed to wrap GNU MP floats and add rich comparisons, but there's a
sore lack of documentation on how to implement the Number interface. Given a
bit of pointers on where to look, an alpha version o