
英:/'siːl/ 美:/'siːl/
過去式 ceiled 過去分詞 ceiled 現在分詞 ceiling 第三人稱單數 ceils
v. 給……抹灰泥或裝鑲闆;(用熟石膏、木闆等)裝天花闆
Please don't thwart him, or he will be killing the ceil.
請不要阻止他,否則他會拆了房子。
The placental decidua cells and villi ceil degenerated with necrosis.
病理檢查胎盤蛻膜細胞、絨毛膜滋養層細胞變性壞死。
In some plants, glycolipid constitute the major polar lipids in ceil membranes.
在有些植物中糖脂是細胞膜中主要的極性油脂。
The ceil() function returns the value of a number rounded UPWARDS to the nearest integer.
函數的作用是:通過進一法取整(即:返回的數字是大于或等已給定數字的最小整數)。
Other (abs, ceil, fact, floor, pow, random, rint, round, sign, frac, hypot, deg, rad, trunc, int).
其它(abs、ceil、fact、floor、pow、random、rint、round、sign、frac、hypot、deg、rad、trunc、int)。
"ceil"是計算機科學和數學領域中表示向上取整函數的專業術語,英文全稱為"ceiling function"。該函數的作用是将實數映射到不小于它的最小整數。例如,ceil(3.2)=4,ceil(-2.7)=-2。
數學定義
在數學中,天花闆函數表示為$lceil x rceil$,其定義為:對于任意實數$x$,存在唯一的整數$n$滿足$n-1 < x leq n$,此時$lceil x rceil = n$。這種運算常見于離散數學、數值分析和算法設計中。
編程實現
主流編程語言均内置了ceil函數:
Math.ceil(3.2)
返回4math.ceil(-2.7)
返回-2Math.ceil
方法遵循IEEE 754标準對整數執行ceil運算時返回原值,例如$lceil 5 rceil=5$。對于NaN(非數字)輸入,多數語言返回NaN。
維基百科天花闆函數
MDN Web文檔Math.ceil
Python數學模塊文檔
單詞 "ceil" 的主要含義可以從以下兩個方面解釋:
"ceil" 作為動詞,原意是指「為房間安裝天花闆」。例如:
"The workers will ceil the attic next week."
(工人下周将為閣樓安裝天花闆。)
不過在現代英語中,這種用法已較為罕見,更常見的名詞形式是ceiling(天花闆)。
在數學和計算機科學中,ceil 是ceiling function 的縮寫,表示「向上取整」操作,符號為 ⌈x⌉。其定義為:
$$
text{ceil}(x) = text{不小于 } x text{ 的最小整數}
$$
例如:
與floor(向下取整)函數相反,ceil 始終向正無窮方向取整。例如:
"在編程中,
Math.ceil(2.3)
返回 3,而Math.floor(2.3)
返回 2。"
該詞源自拉丁語 caelum(天空),通過古法語 ciel(天花闆)演變而來,後與建築和空間概念關聯。
turn downlarklet sb downapoptosisBarbarabummerchancyforgedliftedMOMAmucedineseedysplinteringoccupational diseasepillow blockpistachio nutsrheumatic feversemantic structureblastograniticcervelatelectrodermogramelectrolyticsencephalomyelitisfenoxypropazineferrisodiumgeocentricallyhackmaniteICAinosculatemetrizable