Recursive Addition of Big Numbers using Mega

Posted by Smithysim on Wed 10 Dec 2014 10:31 AM — 2 posts, 13,014 views.

#0
Using Arduino Mega :-

Please advise use of recursive addition of big numbers (x+=x) and then printing the big number. I can generate big numbers from a random binary string using your BigNumber.h library.
e.g. 2^0 = 1
-
-
2^14 = 16384
2^32 = 2147483648 etc.
up to 2^35
but I now need to add these together to get a result which will be 12 digits long and then print the result.

An example sketch would be appreciated.

Found starting place here:
http://forum.arduino.cc/index.php?topic=85692.0

Kind regards
Australia Forum Administrator #1
Template:Arduino
Please post Arduino-related questions to the Arduino Forum or to StackExchange: Arduino. This saves splitting questions and answers between this forum and the Arduino ones.