chaos-lang / chaos

The Chaos Programming Language
https://chaos-lang.org
GNU General Public License v3.0
280 stars 17 forks source link

Implement multiple precision support for numbers #44

Open mertyildiran opened 4 years ago

mertyildiran commented 4 years ago

Implement arbitrary length integer and arbitrary precision floating-point numbers support using GNU Multiple Precision Arithmetic Library. Here is a tutorial.

dumblob commented 2 years ago

Beware there is a significant difference between multiple precision and arbitrary precision. I'd guess GMP lib is not what you're looking for and you're probably wanting something like mpdecimal.

mertyildiran commented 2 years ago

@dumblob it could be, yeah thanks for the clarification. I'll update the issue description.