Log2sp


Detailed Description


Functions

float log2sp (float a)
float log2sp_c (float a)


Function Documentation

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 both big and little endian modes.

float log2sp_c ( float  a  ) 


Copyright 2016, Texas Instruments Incorporated