Search code examples
cbigdecimal

Is there any BigDecimal class for C?


I looked all over the internet and I can't seem to find one.

There is something similar in Java, but I need to use C (preferably something I can use locally). Has anyone got any ideas?


Solution

  • Copy of my answer:

    If you need to do operations with HUGE decimal values I would suggest you to use http://gmplib.org/ library. I've used it a lot with C and C++.