Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.45 KB

README.org

File metadata and controls

49 lines (36 loc) · 1.45 KB

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)