[mercury-users] Possum

Thomas Conway conway at cs.mu.OZ.AU
Mon Oct 4 08:43:43 AEST 1999


On Thu, Sep 23, 1999 at 01:06:05AM EST, Dan Hazel wrote:
> is going to embarrass me, as Possum (like a cheap calculator) 
> shifts into (it's version of) floats once integers get too big and 
> supplies the expected swamping/rounding/overflow errors you can imagine.
> To avoid rounding/overflow you'd probably have to keep n down and to
> avoid swamping you'd have to keep x, y and z very close together.

Have you seen the integer module (not `int', `integer')? It does bignums,
and there is a module `rational' somewhere or other (it doesn't seem to
be in the library, so I'll have a look for it later).

-- 
 Thomas Conway )O+     Every sword has two edges.
     Mercurian            <conway at cs.mu.oz.au>
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list