Arbitrary Precision Math

Hi out there …
Has anyone ever thought about implementing arbitrary precision math in a fast and elegant way? Critical with respect to speed is definitely division and square root, just to name a few. Just wanted to know if someone else is playing around with that, or if I am the only one …

It has been suggested that BigNum and BigRat be added - I don’t know if that covers your use case, especially the ‘fast’ part.

http://oss.digirati.com.br/luabignum/

I don’t know that there are any firm plans to do so, but I don’t think they’d be an issue.

Thanks @Bortels. I guess I will continue my exercise to write own functions. This allows me then to learn more about the string functions of Lua… So it’s good exercise for me. As I can see, nobody else is as crazy as me to play around with that stuff :slight_smile: Well, there is no particular use or even reason behind that, except the crazy thing to calculate “e” up to 200 digits or so … Why? Well, why not?