Why is there no non-standard Integer type?

Why does the STL not contain an unlimited integer data type?

It seems to me that this is a data type whose purpose is similar to a string type.
Programmers would not have to worry about overcrowded values ​​and work with much larger numbers.

So I'm curious if there is a specific reason for his absence.

This is not a problem of how to implement or use it in a third-party library, but simply a question of why the language has not come with one yet. Any references on this subject are welcome.

+5
source share
2 answers

You probably mean arbitrary precision arithmetic or large numbers.

, ++, . , ++ STL (std::ostream std::vector , std::string).

.

, (, Qt) STL . (, ).

- . , ++ STL, , ; .

GMP, .

+3

, STL:

C. , , , , . STL , , :

, . , , . 32- . . . 64- - , ( , , ).

, , , , STL.

, , STL , , , .

+1

All Articles