In mathematics and computer science , the floor and ceiling functions map a real number to the largest previous or the smallest following integer , respectively. More precisely, floor(x ) = ⌊x ⌋ is the largest integer not greater than x and ceiling(x ) = ⌈x ⌉ is the smallest integer not less than x .[ 1]
ceiling and floor
最新推荐文章于 2013-11-09 10:49:00 发布