Functions
Exp2sp

Functions

float exp2sp (float a)
 

Detailed Description

Function Documentation

◆ exp2sp()

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.

Copyright 2022, Texas Instruments Incorporated