Who does non-decimal bignums with floating radix point?

Posted by boost on Stack Overflow See other posts from Stack Overflow or by boost
Published on 2009-04-05T13:58:25Z Indexed on 2010/05/08 2:08 UTC
Read the original article Hit count: 410

Nice as the Tcl libraries math::bignum and math::bigfloat are, the middle ground between the two needs to be addressed. Namely, bignums which are in different radices and have a radix point.

At present math::bignum only handles integers (afaict) and math::bigfloat won't let you specify different radices to math::bigfloat::fromstr (ditto).

Does anyone know of a library, for any of the major scripting languages (e.g. Tcl, Perl, Python, Ruby, Lua) or less major ones (newLISP for example), which implements bignums in different radices with handling for radix point?

© Stack Overflow or respective owner

Related posts about radix-point

Related posts about bignum