mirror of
https://github.com/nqrduck/ATM.git
synced 2024-12-05 00:03:14 +00:00
20 lines
357 B
Text
20 lines
357 B
Text
|
// BigNumber test: multiplication
|
||
|
#include "BigNumber.h"
|
||
|
|
||
|
void setup ()
|
||
|
{
|
||
|
Serial.begin (115200);
|
||
|
Serial.println ();
|
||
|
Serial.println ();
|
||
|
BigNumber::begin (); // initialize library
|
||
|
|
||
|
// test multiplication
|
||
|
BigNumber a = "564328376";
|
||
|
BigNumber b = "18254546";
|
||
|
BigNumber c = a * b;
|
||
|
|
||
|
Serial.println (c);
|
||
|
|
||
|
} // end of setup
|
||
|
|
||
|
void loop () { }
|