Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
请教两个函数据说C语言stdlib.h中包含两个函数:ceil和floor,分别是求大于等于该实数的最小整数和小于等于该实数的最大整数的(比如,1.0的返回值是1和1,而0.9则返回1和0)。请问是不是真的有这么回事?如果有,又该怎样用呢? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator