Skip to content

Instantly share code, notes, and snippets.

View soeltjen's full-sized avatar

Sebastian Oeltjen soeltjen

View GitHub Profile
@fffaraz
fffaraz / math_unsigned.h
Created October 13, 2015 04:48
Arbitrary-precision integer arithmetic in C++
#ifndef MATH_UNSIGNED_H
#define MATH_UNSIGNED_H
#include <cstdint>
#include <vector>
#include <iostream>
#include <stdexcept>
#include <algorithm>
#include <sstream>
#include <cctype>