|
CC78K0S Datasheet, PDF (260/520 Pages) NEC – C Compiler Ver.1.30 or Later Language | |||
|
◁ |
CHAPTER 10 LIBRARY FUNCTIONS
7-11 exp (normal model only)
Mathematical
FUNCTION
exp finds the exponent function.
HEADER
math.h
FUNCTION PROTOTYPE
double exp (double x) ;
Function
exp
Arguments
x ... Numeric value on which
operation is performed
Return Value
Normal ... exponent function of x
When x = NaN ... NaN
When x = 屉 ... 屉
When overflow occurs ...
HUGE_VQAL (with positive
sign)
When underflow occurs ...
Non-normalized number
When annihilation of valid
digits occurs due to underflow
... +0
EXPLANATION
⢠Calculates exponent function of x.
⢠If x is non-numeric, NaN is returned.
⢠If x is ±â, ±â is returned.
⢠If an underflow occurs as a result of the operation, a non-normalized number is returned.
⢠If annihilation of valid digits due to underflow occurs as a result of the operation, +0 is returned.
⢠If an overflow occurs as a result of the operation, HUGE_VAL with a positive sign is returned and ERANGE is
set to errno.
260
Userâs Manual U14872EJ1V0UM
|
▷ |