Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Yet another Math Library

6 views
Skip to first unread message

Robert Spier

unread,
Jul 1, 2004, 2:35:30 AM7/1/04
to perl6-i...@perl.org

This might be useful... (thanks planetlisp!)


Chris Double
------------
Wed Jun 30 17:22:09 2004

http://radio.weblogs.com/0102385/2004/07/01.html#a625


I came across a free portable arbitary precision integer and rational
arithmentic library called [1]IMath that looks useful. It is under a
BSD style license and it looks like it might be useful for
implementing bignum support in languages. It may be a useful
alternative to [2]GNU MP if the latters licensing is not compatible
with your project.

References

1. http://thayer.dartmouth.edu/~sting/sw/imath
2. http://swox.com/gmp/

Leopold Toetsch

unread,
Jul 1, 2004, 5:20:15 AM7/1/04
to Robert Spier, perl6-i...@perl.org
Robert Spier <rsp...@pobox.com> wrote:

> This might be useful... (thanks planetlisp!)

> I came across a free portable arbitary precision integer and rational


> arithmentic library called [1]IMath that looks useful. It is under a
> BSD style license and it looks like it might be useful for
> implementing bignum support in languages. It may be a useful
> alternative to [2]GNU MP if the latters licensing is not compatible
> with your project.

Yep. Seems reasonably documented and tested. *And* the interface is very
similar to GMP, so that the library might be well usable as a fallback
or alternative, if we can't or don't use GMP.

I think its way to early to decide, which of the libs we might finally
use, but one major issue of including such a library is testing. The
stuff in CVS - F<types/bignum*> - has a link to download a huge test
suite from IBM somewhere. So we might try to adjust these tests anyway.

Thanks for the links,
leo

0 new messages