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