Adding docs for fmod.

Making the exp docs more clear and precise.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@101375 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jesus M. Castagnetto 2002-10-25 22:41:34 +00:00
parent 5ad2daa349
commit a12dffb0e4
2 changed files with 51 additions and 3 deletions

View file

@ -1,10 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.exp">
<refnamediv>
<refname>exp</refname>
<refpurpose>e to the power of ...</refpurpose>
<refpurpose>Calculates the exponent of <constant>e</constant> (the
Neperian or Natural logarithm base)</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -13,7 +14,7 @@
<methodparam><type>float</type><parameter>arg</parameter></methodparam>
</methodsynopsis>
<para>
Returns e raised to the power of <parameter>arg</parameter>.
Returns <constant>e</constant> raised to the power of <parameter>arg</parameter>.
</para>
<para>
See also <function>pow</function>.

View file

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.fmod">
<refnamediv>
<refname>fmod</refname>
<refpurpose>Returns the floating point remainder (modulo) of the division
of the arguments</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>float</type><methodname>fmod</methodname>
<methodparam><type>float</type><parameter>x</parameter></methodparam>
<methodparam><type>float</type><parameter>y</parameter></methodparam>
</methodsynopsis>
<para>
Returns the floating point remainder of dividend the divisor
(<parameter>x</parameter>) by the divisor (<parameter>y</parameter>).
The reminder (<varname>r</varname>) is defined as: x = i * y + r, for
some integer <varname>i</varname>. If <paramater>y</parameter> is
non-zero, <varname>r</varname> has the same sign as
<parameter>x</parameter> and a magnitude less than the magnitude of
<parameter>y</parameter>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->