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.0
- Added new vector APIs: powx and linearfrac
- Added vector variants: sincos, sqrt, and fabs
- Added vector array variants: pow, exp, exp2, exp10, expm1, log, log2, log10, log1p, cbrt, cos, and sin
- Introduced a CMake build system for Linux for building AOCL-LibM. The Scons based build system has been retained.
- AOCL-LibM now links to au_cpuid binaries of AOCL-Utils
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 sha256 Checksum: 4f8990b9cc3da85af2b0733f657bc0fd901c0b2a8fda0c8053c2f7f9324370f5 |
Binary Packages Compiled with GCC 13.2.1 | ||||||
aocl-libm-linux-gcc-5.0.0.tar.gz | 5.0 | 2.6MB | 10/10/2024 | RHEL, Ubuntu, SLES | 64-bit | GCC compiled AOCL-LibM library binary package sha256 Checksum: 9cd6ab9555571d07dac45e8b9d326e706501f677fe837857ac19fe4d7bd2afe8 |
Windows Installer Containing AOCL-LibM | ||||||
AOCL_Windows-setup-5.0.0.384-AMD.exe | 5.0 | 104MB | 10/10/2024 | Windows 11, Windows 10 | 64-bit | Windows installer file containing all the AOCL library binaries compiled with Clang 17. sha256sum: 026405b98e2cf3c529bacdf76eb6e43935b639ed2ab8e90cba22bb992ecf13de |