Skip to content

hexingb/abacus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Abacus: my arbitrary precision arithmetic library

1 Introduction

Abacus is a header only library for arbitrary precision big number arithmetic computing. It is a toy project created with following objectives in my mind:

  1. to practice my C++ programming skills
  2. to learn mathematics, especially for encryption study I hope

As it is just for educational purpose, the implementation is unrestrained. Anyway, a bc compatible executive will be created as an application and benchmark test.

2 Installation

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/Your/Installation/Path/ ..
make
make install

3 Progress

3.1 DONE read integer digits and store them in base $232$

3.2 DONE display number in any base(0 ~ $232$)

3.3 DONE rewrite the implementation

3.4 DONE read and write decimal number

3.5 TODO basic arithmetic (add/sub/mul/div/mod)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published