Skip to content

Instantly share code, notes, and snippets.

View sphere913's full-sized avatar

sphere913

View GitHub Profile
@sphere913
sphere913 / BigInt.cpp
Created September 7, 2018 09:47 — forked from ar-pa/BigInt.cpp
bignum class for C++
/*
######################################################################
####################### THE BIG INT ##########################
*/
const int base = 1000000000;
const int base_digits = 9;
struct bigint {
vector<int> a;
int sign;
/*<arpa>*/