Frexp - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 English
float amd_frexpf(float value, int *exp)#

Decomposes a single-precision value into normalized fraction and exponent.

Parameters:
  • value – Input value.

  • exp – Output pointer to receive exponent.

Returns:

Normalized fraction.

double amd_frexp(double value, int *exp)#

Decomposes a double-precision value into normalized fraction and exponent.

Parameters:
  • value – Input value.

  • exp – Output pointer to receive exponent.

Returns:

Normalized fraction.