+ 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.
1 ответ
+ 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/