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