+ 1

How can i use big numbers in JAVA ? Which type (NOT long & Big integer), Which Method can i use?

ways except long, big integer.

19th Apr 2018, 3:30 PM
vuqar.kasimov
vuqar.kasimov - avatar
1 Antwort
+ 1
Convert it to strings where the first 4 bits of a character are used the store a digit(in base 16), and the same for the last 4 bits of a character. Then you can interpret the bytes as digits, and do operations with the strings. This should help somewhat https://www.allaboutcircuits.com/textbook/digital/chpt-2/binary-addition/
19th Apr 2018, 3:43 PM
Bebida Roja
Bebida Roja - avatar