1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
3 "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
9 <holder>Khronos Group
</holder>
12 <refentrytitle>ceil
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>ceil
</refname>
17 <refpurpose>find the nearest integer that is greater than or equal to the parameter
</refpurpose>
19 <refsynopsisdiv><title>Declaration
</title>
22 <funcdef>genType
<function>ceil
</function></funcdef>
23 <paramdef>genType
<parameter>x
</parameter></paramdef>
28 <funcdef>genDType
<function>ceil
</function></funcdef>
29 <paramdef>genDType
<parameter>x
</parameter></paramdef>
33 <refsect1 id=
"parameters"><title>Parameters
</title>
36 <term><parameter>x
</parameter></term>
39 Specify the value to evaluate.
45 <refsect1 id=
"description"><title>Description
</title>
47 <function>ceil
</function> returns a value equal to the nearest integer that is
48 greater than or equal to
<parameter>x
</parameter>.
51 <refsect1 id=
"versions"><title>Version Support
</title>
52 <informaltable frame=
"topbot">
57 <entry>ceil (genType)
</entry>#newin11#
60 <entry>ceil (genDType)
</entry>#newin40#
66 <refsect1 id=
"seealso"><title>See Also
</title>
68 <citerefentry><refentrytitle>floor
</refentrytitle></citerefentry>,
69 <citerefentry><refentrytitle>round
</refentrytitle></citerefentry>
72 <refsect1 id=
"Copyright"><title>Copyright
</title>
74 Copyright
<trademark class=
"copyright"></trademark> 2011 Khronos Group.
75 This material may be distributed subject to the terms and conditions set forth in
76 the Open Publication License, v
1.0,
8 June
1999.
77 <ulink url=
"http://opencontent.org/openpub/">http://opencontent.org/openpub/
</ulink>.