AOCL-LibM is a high-performant implementation of LibM, the standard C library of basic floating point mathematical functions. It includes many of the functions from the C99 standard. Single and double precision versions of the functions are provided, all optimized for accuracy and performance, including a small number of complex functions. Several vector and fast scalar variants, in which a small amount of accuracy has been traded for greater performance, have been provided.
Highlights of AOCL-LibM 5.1
- Added new vector variants of sincos.
- Improved performance of vector variants of linearfrac.
- Added CMake support (experimental) for building AOCL-LibM binaries on Linux and Windows.
- Added static dispatch functionality while building with CMAKE.
- Updated dynamic dispatch to route to Zen3 versions of APIs on Zen5 with AVX512 ISA disabled.
Documentation
- Prior versions: AOCL-LibM Archive
- Source code: GitHub
Downloads
File Name | Version | Size | Launch Date | OS | Bitness | Description |
Binary Packages Compiled with AOCC 5.0 | ||||||
aocl-libm-linux-aocc-5.0.0.tar.gz | 5.0 | 2.4MB | 10/10/2024 | RHEL, Ubuntu, SLES | 64-bit | AOCC compiled AOCL-LibM library binary package SHA-256 checksum: 4f8990b9cc3da85af2b0733f657bc0fd901c0b2a8fda0c8053c2f7f9324370f5 |
Binary Packages Compiled with GCC 14.2.1 | ||||||
aocl-libm-linux-gcc-5.1.0.tar.gz |
5.1 | 2.6MB | 05/07/2025 | RHEL, Ubuntu, SLES | 64-bit | GCC compiled AOCL-LibM library binary package SHA-256 checksum: 6daaa0489f917141512f71a28465a2248026bceda5c5a7b0114ae54837469bbb |
Windows Installer Containing AOCL-LibM | ||||||
AOCL_Windows-setup-5.1.0.408-AMD.exe | 5.1 | 140MB | 05/07/2025 | Windows 11, Windows 10 | 64-bit | Windows installer file containing all the AOCL library binaries compiled with Clang 18. SHA-256 checksum: 61de98148459270ba3bd01f5b0c409299d8c0c144a925f3701e10f72678a328a |