Functions
Log2sp

Functions

float log2sp (float a)
 

Detailed Description

Function Documentation

◆ log2sp()

float log2sp ( float  a)
Description:
The log2sp function returns the logarithm function of a real floating-point argument a. The return value is the base 2 logarithmic value of a.
Parameters
[in]a= Input float
Returns
Resultant float
Special Cases:
  • If a is Inf, the return value is 128.3998 (Asm) or 1024 (C/Inline/Vector).
See also
Implementation Notes:
  • The code supports little endian mode.

Copyright 2022, Texas Instruments Incorporated