Skip to content

Laguna1989/arbitrary_precision_int_cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arbitrary Precision Integer

Build Status

How to run unittests

mkdir build
cd build
cmake ..
cmake --build .
./unittests

Code usage

#include <arbitrary_precision_int/arbitrary_precision_int.hpp>
#include <iostream>

int main(){
    auto const api_1 = api::from_uint64(100*2);
    auto const api_2 = api::from_uint64(123456);
    
    auto const api_3 = api_1 * api_2 * api_2;
    
    std::cout << api_3.to_string() << std::endl;
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published