tail head cat sleep
QR code linking to this page

manページ  — CEIL

名称

ceil, ceilf – x 以上で最も小さい整数への切上げ

内容

ライブラリ

Math Library (libm, -lm)

書式

#include <math.h>

double
ceil(double x);

float
ceilf(float x);

解説

ceil() 関数と ceilf() 関数は、 浮動小数点数として表現される x 以上の最も小さい整数値 を返します。

関連項目

abs(3), fabs(3), floor(3), ieee(3), math(3), rint(3)

規格

ceil() 関数は ISO/IEC 9899:1990 ("ISO C90") に適合しています。

CEIL (3) March 10, 1994

tail head cat sleep
QR code linking to this page


このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.

“ On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question. ”
— Charles Babbage