nickgammon / BigNumber

BigNumber library for the Arduino
MIT License
88 stars 22 forks source link

desktop support, auto scaling and some functions added #16

Open radinParsaei opened 4 years ago

radinParsaei commented 4 years ago

now BigNumber is not depended on Arduino (platform preprocessing conditions added), auto scaling and BigNumber(long), BigNumber(long long), BigNumber(double), BigNumber(std::string), BigNumber(String), toLong(), toDouble() added and if STD_INCLUDED defined you can use std::cout like that:

#include <BigNumber.h>
#include <iostream>

using namespace std;

int main() {
  BigNumber a = 0;
  cin >> a;
  cout << a << endl;
}