Log1p - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 English
float amd_log1pf(float x)#

Computes log(1 + x) with reduced error for small x (single-precision).

Parameters:

x – Input value.

Returns:

log(1 + x).

double amd_log1p(double x)#

Computes log(1 + x) with reduced error for small x (double-precision).

Parameters:

x – Input value.

Returns:

log(1 + x).