|
CC78K0S Datasheet, PDF (268/520 Pages) NEC – C Compiler Ver.1.30 or Later Language | |||
|
◁ |
CHAPTER 10 LIBRARY FUNCTIONS
7-19 ceil (normal model only)
Mathematical Function
FUNCTION
ceil finds the minimum integer no less than x.
HEADER
math.h
FUNCTION PROTOTYPE
double ceil (double x) ;
Function
ceil
Arguments
x ... Numeric value on which
operation is performed
Return Value
Normal ... The minimum
integer no less than x
When x is non-numeric or x =
屉 ... NaN
When x = â0 ... +0
When the minimum integer no
less than x cannot be
expressed ... x
EXPLANATION
⢠Finds the minimum integer no less than x.
⢠If x is non-numeric, NaN is returned.
⢠If x is â0, +0 is returned.
⢠If x is infinite, NaN is returned and EDOM is set to errno.
⢠If the minimum integer no less than x cannot be expressed, x is returned.
268
Userâs Manual U14872EJ1V0UM
|
▷ |