how work bigint lib ? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 2

how work bigint lib ?

I wanna understand algorithm of big int but I can't found worthwhile answer .

11th Aug 2019, 12:26 AM
maskkskf wseggw
maskkskf wseggw - avatar
1 Respuesta
+ 2
Since there is a limit to how large a number can be stored using an integer data type, we can represent a number as an array instead, where each digit occupies an array slot. After that, it's the same as how you operate with numbers using a pen and paper.
11th Aug 2019, 1:00 AM
Hatsy Rei
Hatsy Rei - avatar