| 1 | <?xml version="1.0" encoding="UTF-8"?>\r |
| 2 | <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"\r |
| 3 | "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">\r |
| 4 | <refentry id="floor">\r |
| 5 | <refmeta>\r |
| 6 | <refmetainfo>\r |
| 7 | <copyright>\r |
| 8 | <year>2011</year>\r |
| 9 | <holder>Khronos Group</holder>\r |
| 10 | </copyright>\r |
| 11 | </refmetainfo>\r |
| 12 | <refentrytitle>floor</refentrytitle>\r |
| 13 | <manvolnum>3G</manvolnum>\r |
| 14 | </refmeta>\r |
| 15 | <refnamediv>\r |
| 16 | <refname>floor</refname>\r |
| 17 | <refpurpose>find the nearest integer less than or equal to the parameter</refpurpose>\r |
| 18 | </refnamediv>\r |
| 19 | <refsynopsisdiv><title>Declaration</title>\r |
| 20 | <funcsynopsis>\r |
| 21 | <funcprototype>\r |
| 22 | <funcdef>genType <function>floor</function></funcdef>\r |
| 23 | <paramdef>genType <parameter>x</parameter></paramdef>\r |
| 24 | </funcprototype>\r |
| 25 | </funcsynopsis>\r |
| 26 | <funcsynopsis>\r |
| 27 | <funcprototype>\r |
| 28 | <funcdef>genDType <function>floor</function></funcdef>\r |
| 29 | <paramdef>genDType <parameter>x</parameter></paramdef>\r |
| 30 | </funcprototype>\r |
| 31 | </funcsynopsis>\r |
| 32 | </refsynopsisdiv>\r |
| 33 | <refsect1 id="parameters"><title>Parameters</title>\r |
| 34 | <variablelist>\r |
| 35 | <varlistentry>\r |
| 36 | <term><parameter>x</parameter></term>\r |
| 37 | <listitem>\r |
| 38 | <para>\r |
| 39 | Specify the value to evaluate.\r |
| 40 | </para>\r |
| 41 | </listitem>\r |
| 42 | </varlistentry>\r |
| 43 | </variablelist>\r |
| 44 | </refsect1>\r |
| 45 | <refsect1 id="description"><title>Description</title>\r |
| 46 | <para>\r |
| 47 | <function>floor</function> returns a value equal to the nearest integer that is less than or equal to <parameter>x</parameter>.\r |
| 48 | </para>\r |
| 49 | </refsect1>\r |
| 50 | <refsect1 id="versions"><title>Version Support</title>\r |
| 51 | <informaltable frame="topbot">\r |
| 52 | #VARTABLECOLS#\r |
| 53 | <thead>\r |
| 54 | #FUNCTABLEHEADER#\r |
| 55 | <row>\r |
| 56 | <entry>floor (genType)</entry>#newin11#\r |
| 57 | </row>\r |
| 58 | <row>\r |
| 59 | <entry>floor (genDType)</entry>#newin40#\r |
| 60 | </row>\r |
| 61 | </thead>\r |
| 62 | </tgroup>\r |
| 63 | </informaltable>\r |
| 64 | </refsect1>\r |
| 65 | <refsect1 id="seealso"><title>See Also</title>\r |
| 66 | <para>\r |
| 67 | <citerefentry><refentrytitle>trunc</refentrytitle></citerefentry>,\r |
| 68 | <citerefentry><refentrytitle>round</refentrytitle></citerefentry>\r |
| 69 | </para>\r |
| 70 | </refsect1>\r |
| 71 | <refsect1 id="Copyright"><title>Copyright</title>\r |
| 72 | <para>\r |
| 73 | Copyright <trademark class="copyright"></trademark> 2011 Khronos Group. \r |
| 74 | This material may be distributed subject to the terms and conditions set forth in \r |
| 75 | the Open Publication License, v 1.0, 8 June 1999.\r |
| 76 | <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.\r |
| 77 | </para>\r |
| 78 | </refsect1>\r |
| 79 | </refentry>\r |