Skip to content
/ APA Public

A C++ library for big integers and dynamic precision floating-point

License

Notifications You must be signed in to change notification settings

mrdcvlsc/APA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ac013bc · Oct 20, 2023
May 5, 2023
Aug 31, 2023
Oct 20, 2023
Sep 1, 2022
Aug 19, 2022
Aug 19, 2022
Apr 23, 2022
Apr 23, 2022
Apr 23, 2022
Aug 11, 2022
May 1, 2023
Aug 29, 2022
Aug 14, 2022
Aug 31, 2023
Aug 14, 2022
Aug 31, 2023
Aug 31, 2023
Mar 31, 2023
Feb 8, 2023
Aug 14, 2022
Nov 24, 2022
Aug 27, 2022
Aug 29, 2022

Repository files navigation

APA : C++ big integers and dynamic precision floating points.

https://mrdcvlsc.github.io/APA

License: MIT build gcc-gnu clang mingw32

A C++ library for big integers and dynamic precision floating points (big numbers), pure c/c++ implementation, no handwritten inline-assembly.

Version 0.4.8 Status : [WIP - Work In Progress]

This branch (version 0.4.8) is an ongoing rewrite of the whole library.

Visit branch version 0.3.9 for the latest previous working version.


Links


Environment Requirements

Byte Order little-endian
OS Windows, Linux
Architecture x86, x64, x86-64
Compilers clang, GCC

If your system does not have these requirements, it might produce wrong results (on other system this could still work, but the chances of the tests failing will be higher).


Description

This is a C++ Arbitrary Precision Arithmetic library. Used to compute big integers and real numbers/floating point numbers. If you need to compute numbers that is greater than the max value of long long int, int64_t or __int128_t this library can do it for you.


About

This repository started as a personal hobby project not intended to replace big number libraries like boost multiprecision and gmplib and is only for didactic purposes. Though performance is still a priority, meaning this library will... as much as possible, use the fastest and the most efficient algorithms and implementations THAT THE AUTHOR(s) KNOW OF.