AOCL-LibM is a high-performance implementation of LibM, the standard C library for fundamental floating-point mathematical functions. It includes a broad set of functions from the C99 standard, offering both single and double precision variants optimized for accuracy and speed, along with select complex functions. Additionally, AOCL-LibM provides several vectorized and fast scalar versions that trade a small degree of accuracy for significantly improved performance.

Highlights of AOCL-LibM 5.2

  • Upgraded to the CMake build system, enabling robust cross-platform support
  • Enhanced library offers both dynamic and static linking options to AOCL-Utils (static linking is the default) within the CMake framework
  • Introduced the erfc API with both scalar and vector implementations for float and double precision on Zen platforms
  • Expanded vector support for erf, asin, acos, cosh, tan, atan, and tanh functions
  • Resolved all Coverity-reported issues, further improving code quality and reliability

Documentation

Downloads

File Name Version Size Launch Date OS Bitness Description
Binary Packages Compiled with AOCC 5.1
aocl-libm-linux-aocc-5.2.0.tar.gz 5.2 3MB 12/31/2025 RHEL, Ubuntu, SLES 64-bit AOCC compiled AOCL-LibM library binary package
SHA-256 checksum: 5f1c1b64ba8fe456936743f2326a941c8d0633ce8aa03706c1b2dbf8132df78c
Binary Packages Compiled with GCC 14.2.1
aocl-libm-linux-gcc-5.2.0.tar.gz
5.2 3MB 12/31/2025 RHEL, Ubuntu, SLES 64-bit GCC compiled AOCL-LibM library binary package
SHA-256 checksum: 8442f8552923c2054e04b979a34d83753be32de4509e1d0b3a08f924a4506b55
Windows Installer Compiled with Clang 18
AOCL_Windows-setup-5.2.0-AMD.exe 5.2 154MB 12/31/2025 Windows 11, Windows 10 64-bit Windows installer file containing all the AOCL library binaries compiled with Clang 18.
SHA-256 checksum: 0caf97420a5e1372aab6c70160f977f4a36c26cee89b88856145af82df2fe096