Logb - 5.2 English - 68552

AOCL API Guide (68552)

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

Extracts the exponent of a single-precision floating-point value.

Parameters:

x – Input value.

Returns:

Exponent as float.

double amd_logb(double x)#

Extracts the exponent of a double-precision floating-point value.

Parameters:

x – Input value.

Returns:

Exponent as double.