Home > Software engineering >  Design of two long integer arithmetic (requirements shall not be less than 15) generated form such a
Design of two long integer arithmetic (requirements shall not be less than 15) generated form such a

Time:10-09

1:1234567890
+ 12345678901
-- -- -- -- -- -- -- -- -- --
13580246791
2
& & & & & & &
- & amp; & & & & & & & &
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- % % % % % % % % %




3 1234567890
X 901
-- -- -- -- -- -- -- -- -- --
1234567890
0000000000
& & & & & & &
_____________________________
88888888888888
4
88888888
..,
34534534/34758934729834
345345234
______________________
878979800
678687890
_____________
890809

CodePudding user response:

15? Is 15 - bit? 15 a decimal digit? 15 a hexadecimal digit?

CodePudding user response:

If 15 decimal digit, so the vb does not provide the size of the data type,

But can use the string, according to the alignment, with character, reduction methods, consider good carry and borrow,

Add and subtract ready, multiplication and many times, seen as a division for many times, seen as a

Good stupid method,
  • Related