Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.
/ largenum Public archive

Multi-precision arithmetic library in basic C++

License

Notifications You must be signed in to change notification settings

paiv/largenum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Big numbers in a small library

Arbitrary precision integer arithmetic in a C++ library with absolutely no dependencies.

This code is old and abandoned, originally written for VC++ 7.1.

What it is

The goal was to implement RSA-capable app with as little footprint as possible. The focus was on smallest code, not performance.

This is mostly ad-hoc code, with no optimizations.

Some discussion happened in this thread: http://rsdn.ru/forum/src/931893

The following book explains multi-precision arithmetic with improved algorithms, not implemented in this library: http://www.amazon.com/exec/obidos/ASIN/0471963550/ Algorithms and Data Structures in C++ by Leen Ammeraal

License

Copyright (c) 2015 by Pavel Ivashkov, github.com/paiv

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Multi-precision arithmetic library in basic C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published