Skip to content

tmargary/BigInt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BigInt

C++ BigInt implementation

Installation

  1. git clone https://github.com/tmargary/BigInt
  2. cd BigInt
  3. cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=[path to vcpkg]/scripts/buildsystems/vcpkg.cmake
  4. cmake --build ./build
  5. ./build/tests/BigIntTest

Usage

BigInt a("123456789");
BigInt b("-987654321");
result = (a * b).toString(); // "-121932631112635269"

About

C++ BigInt implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published