• Forum
  • Lounge
  • Why no standard big integer library in c

 
 
Why no standard big integer library in c++?

closed account (1vf9z8AR)
There is bigInteger in java why not in c++?

there are only non standard ones.
Last edited on
boost is as close to the standard as you can get: https://www.boost.org/doc/libs/1_69_0/libs/multiprecision/doc/html/index.html

There have been some early-stage proposals for standardization of big integers in C++, but not enough interest, it seems. For a recent (current) example, http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0539r4.html whose authors have been persistent with it (it's the 4th revision), so hopefully they'll come back with it early in C++23 cycle
Last edited on
Cubbi + 1

Boost big integers is as good as it gets.
And they are really easy to use.
Topic archived. No new replies allowed.