|
CC78K0S Datasheet, PDF (277/520 Pages) NEC – C Compiler Ver.1.30 or Later Language | |||
|
◁ |
CHAPTER 10 LIBRARY FUNCTIONS
7-28 cosf (normal model only)
Mathematical Functions
FUNCTION
cosf finds cos.
HEADER
math.h
FUNCTION PROTOTYPE
float cost (float x) ;
Function
cosf
Arguments
x ... Numeric value on which
operation is performed
Return Value
Normal ... cos of x
When x = NaN, x = 屉 ... NaN
EXPLANATION
⢠Calculates cos of x.
⢠If x is non-numeric, NaN is returned.
⢠If x is infinite, NaN is returned and EDOM is set to errno.
⢠If the absolute value of x is extremely large, the result of an operation becomes an almost meaningless value.
Userâs Manual U14872EJ1V0UM
277
|
▷ |