Skip to content

Foxinatel/BigIntCpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BigIntCPP

The goal of this project is to create a fast interface for dealing with arbitrarily large integers. There are already libraries for this, most notably https://github.com/faheel/BigInt, however that makes use of strings with a base-10 representation to perform arithmetic. This new implementation makes use of a dynamic array of uint32_t, essentially allowing us to perform computations (much more efficiently) in base 2^32.

Additionally, operator overloading makes use of C++20 concepts to allow any type that can construct a BigInt to work with no extra configuration

TODO

  • Various utility functions
  • Bitwise operations ??
  • Constexpr ???
  • Many more fun things

About

Efficient handling of arbitrarily large numbers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages