APA mini documentation
-
For values that cannot fit the integral types. e.g.
int
,long long int
,uint64_t
& etc. -
For values that cannot fit the real types. e.g.
float
&double
. -
Learn how to use the library, include the proper headers, compile directly or create a static library.
-
Some rules or designs followed by this library.
-
Learn how this library represent big numbers.
-
-
Basic-Arithmetic. - generated by
make benchmark
. -
Karatsuba. - generated by
make benchmark
. -
Initialization and Base 10 string conversion. - generated by
make benchmark
. -
Performance Comparison - generated by
make -C benchmark/comparisons
, here the performance was compared with other light-weight popular C++ big integer libraries. -
To generate a performance comparison in your own device.
-
Download the target libraries. (only once)
make -C benchmark/comparisons clone
-
Compile the performance comparison scripts.
make -C benchmark/comparisons compile
-
Run and Generate performance stats markdown files.
make -C benchmark/comparisons run
Output file: APA/benchmark/comparison.md
-
Clean the downloaded resources.
make -C benchmark/comparisons clean
-
These benchmark commands will only work in Linux.
-