English
Language : 

CC78K0S Datasheet, PDF (251/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
CHAPTER 10 LIBRARY FUNCTIONS
7-2 asin (normal model only)
Mathematical Functions
FUNCTION
asin finds asin.
HEADER
math.h
FUNCTION PROTOTYPE
double asin (double x) ;
Function
asin
Arguments
x ... Numeric value on which
operation is performed
Return Value
When –1 ≤ x ≤ 1 ... asin of x
When x ≤ –1, 1 ≤ x, x = NaN
... NaN
When x = –0 ... –0
When underflow occurs ...
Non-normalized number
EXPLANATION
• Calculates asin (range between –π/2 and +π/2) of x.
• In the case of area error of x < –1, 1 < x, NaN is returned and EDOM is set to errno.
• When x is non-numeric, NaN is returned.
• When x is –0, –0 is returned.
• If an underflow occurs as a result of conversion, a non-normalized number is returned.
User’s Manual U14872EJ1V0UM
251