Home

Vint is a header only arbitrary precision integer library in c++. See the repository.

This website will contain quickstart tutorials, documentation, and other info for the project. Use the sidebar on the left hand side to find and navigate between pages and documentation. Please note that this is a hobby project of mine, which means maintenance will not be guaranteed for the long run.

Quickstart

Because this is a header only library, installation is very straightforward. Simply clone the repository and move the of the include directory into where you need it.

$ git clone https://github.com/somedude72/vint
$ mv vint/include path/to/project/include

Now you are ready to use the library. See the example below or read the tutorial

#include <iostream>
#include "vint/integer.hpp"

int main() {
    vint::Integer a = 1;
    for (int i = 0; i < 1024; i++) { a = 2 * a; }
    std::cout << "int: " << a.to_int64() << '\n';
    std::cout << "str: " << a.to_string() << '\n';
}

About

This documentation is created with the Just The Docs Jekyll theme and hosted on GitHub Pages. All credits go to their respective authors.