Skip to content

C++ header for arbitrary-precision integer representation.

Notifications You must be signed in to change notification settings

bacigala/BigNum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

BigNum

C++ header for arbitrary-precision integer representation.

Features

  • construction from
    • no parameters - BigNum is initialized to 0
    • int64_t
    • const std::string& (e.g. -150, +0, 00, -00012, ...)
  • coppying
  • unary operators + and -
  • binary arithmetic operators -, +, * and +=, *=, -=
  • relational and conditional operators <, >, <=, >=, ==, !=
  • output to stream - overload of opertor <<

Not supported (yet)

  • operators /, /=, % and %=
  • operator >> - input from stream

About

C++ header for arbitrary-precision integer representation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages