Functions
Powdp

Functions

double powdp (double a, double b)
 

Detailed Description

Function Documentation

◆ powdp()

double powdp ( double  a,
double  b 
)
Description:
The powdp function returns the a power of b function. The return value is the number a^b.
Parameters
[in]a= Input double Base
[in]b= Input double Power
Returns
Resultant double
Special Cases:
  • If a or b is NaN (Not a Number), the return value may be random.
  • If a < 0, and b is not an integer value, then NaN is returned.
  • If a = 0, and b < 0, return value is 0 for Asm, Infinity for C/Inline/Vector.
  • If |a| = Inf, b < 0, return value is Inf for Asm, 0 for C/Inline/Vector.
See also
Implementation Notes:
  • The code supports little endian mode.

Copyright 2022, Texas Instruments Incorporated