0

Can't they make one number data type that increases in memory based ont the length

29th Dec 2023, 1:18 PM
Abas Statar Jbr
Abas Statar Jbr - avatar
2 Answers
+ 2
C++ does not have a standard numeric type for "arbitrary precision" or unlimited size. There are some libraries out there which implement these features, but you have to look hard and choose carefully. I suggest to check these topics: https://stackoverflow.com/questions/64565151/whats-the-c-equivalent-of-cs-decimal-type https://stackoverflow.com/questions/12988099/big-numbers-library-in-c
30th Dec 2023, 12:23 AM
Tibor Santa
Tibor Santa - avatar
0
Can you please elaborate your question if you have one!? If you're suggesting implementing another data type in C++ then no one other than the creator of C++ would help.
29th Dec 2023, 2:07 PM
ć‚ă„šă„©äž‚ć„
ć‚ă„šă„©äž‚ć„ - avatar