libapac is a high-performance arbitrary precision arithmetic library for scientific computing
and number crunching with infinite precision, only limited by the amount of memory on your system.
- Targeted for x86-64 CPUs on Windows OS (Support for ARM64 in future).
- Supports both static and shared library builds.
- Customizable memory allocation functions.
- Dynamic Dispatch at runtime as per appropriate CPU (if supported).
- High-performance low-level APIs that focus on speed and space efficiency.
- Performance-critical functions written in hand-rolled assembly or using C compiler intrinsics.
- Windows 10/11
- Visual Studio 17 2022 or Visual Studio Build Tools with
Desktop development with C++
option selected - CMake 3.12 or later
- Build generator like
Visual Studio 17 2022 (MSBuild)
orNinja
Option | Default | Description |
---|---|---|
BUILD_SHARED_LIBS | OFF |
Build a DLL if ON |
- Open CMake GUI.
- In "Where is the source code:", browse to the root folder where you have cloned
libapac
. - In "Where to build the binaries:", create and select a
build
folder inside the project. - Click Configure:
- Select "Visual Studio 17 2022"
- Choose "x64" as the platform
- Customize any CMake options (e.g., check
BUILD_SHARED_LIBS
if you want a DLL). - Click Generate.
- Click Open Project to launch in Visual Studio 2022.
- After opening the generated solution, right-click the
ALL_BUILD
target and select Build.