Exp2sp


Detailed Description


Functions

float exp2sp (float a)
float exp2sp_c (float a)


Function Documentation

float exp2sp ( float  a  ) 

Description:
The exp2sp function returns the exponential function of a real floating-point argument a. The return value is the number 2 raised to the power a. If the magnitude of a is too large, the maximum single-precision floating-point number (3.402823e+38 = 2^128) is returned.
Parameters:
[in] a = Input float
Returns:
Resultant float
Special Cases:
  • If a < -126, then the return value is 0.0.
  • If a > +128, then the return value is 3.402823e+38 (maximum single-precision floating-point number).
  • If a < -256, then the return value may be random for Asm implementation only.
See also:
Implementation Notes:
  • The code supports both big and little endian modes.

float exp2sp_c ( float  a  ) 


Copyright 2016, Texas Instruments Incorporated