sander Sun Jun 2 07:56:51 2002 EDT
Modified files:
/phpdoc/en/reference/math reference.xml
/phpdoc/en/reference/math/functions bindec.xml ceil.xml cos.xml
decbin.xml decoct.xml floor.xml
sin.xml tan.xml
Log:
Various small changes
Index: phpdoc/en/reference/math/reference.xml
diff -u phpdoc/en/reference/math/reference.xml:1.2
phpdoc/en/reference/math/reference.xml:1.3
--- phpdoc/en/reference/math/reference.xml:1.2 Mon Apr 15 14:56:44 2002
+++ phpdoc/en/reference/math/reference.xml Sun Jun 2 07:56:51 2002
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<reference id="ref.math">
<title>Mathematical Functions</title>
<titleabbrev>Math</titleabbrev>
<partintro>
<section id="math.intro">
- <title>Introduction</title>
+ &reftitle.intro;
<para>
These math functions will only handle values within the range of
the <type>integer</type> and <type>float</type> types on your computer.
@@ -15,7 +15,7 @@
linkend="ref.bc">arbitrary precision math functions</link>.
</para>
<section id="math.constants">
- <title>Math constants</title>
+ &reftitle.constants;
<para>
The following values are defined as constants in PHP by the math
extension:
Index: phpdoc/en/reference/math/functions/bindec.xml
diff -u phpdoc/en/reference/math/functions/bindec.xml:1.2
phpdoc/en/reference/math/functions/bindec.xml:1.3
--- phpdoc/en/reference/math/functions/bindec.xml:1.2 Wed Apr 17 02:39:50 2002
+++ phpdoc/en/reference/math/functions/bindec.xml Sun Jun 2 07:56:51 2002
@@ -1,5 +1,5 @@
<?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.bindec">
<refnamediv>
@@ -14,7 +14,7 @@
</methodsynopsis>
<para>
Returns the decimal equivalent of the binary number represented by
- the binary_string argument.
+ the <parameter>binary_string</parameter> argument.
</para>
<para>
<function>bindec</function> converts a binary number to an
@@ -22,8 +22,7 @@
31 bits of 1's or 2147483647 in decimal.
</para>
<para>
- See also the <function>decbin</function>
- function.
+ See also: <function>decbin</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/math/functions/ceil.xml
diff -u phpdoc/en/reference/math/functions/ceil.xml:1.3
phpdoc/en/reference/math/functions/ceil.xml:1.4
--- phpdoc/en/reference/math/functions/ceil.xml:1.3 Sat Jun 1 21:43:41 2002
+++ phpdoc/en/reference/math/functions/ceil.xml Sun Jun 2 07:56:51 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.ceil">
<refnamediv>
@@ -17,10 +17,10 @@
<parameter>value</parameter> if necessary.
The return value of <function>ceil</function> is still of type
<type>float</type> as the value range of <type>float</type> is
- usually bigger than that of <type>int</type>.
+ usually bigger than that of <type>integer</type>.
</simpara>
<example>
- <title><function>ceil</function> examples</title>
+ <title><function>ceil</function> example</title>
<programlisting role="php">
<![CDATA[
echo ceil(4.3); // 5
Index: phpdoc/en/reference/math/functions/cos.xml
diff -u phpdoc/en/reference/math/functions/cos.xml:1.2
phpdoc/en/reference/math/functions/cos.xml:1.3
--- phpdoc/en/reference/math/functions/cos.xml:1.2 Wed Apr 17 02:39:50 2002
+++ phpdoc/en/reference/math/functions/cos.xml Sun Jun 2 07:56:51 2002
@@ -1,5 +1,5 @@
<?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.cos">
<refnamediv>
@@ -13,10 +13,12 @@
<methodparam><type>float</type><parameter>arg</parameter></methodparam>
</methodsynopsis>
<para>
- Returns the cosine of arg in radians.
+ <function>cos</function> returns the cosine of the <parameter>arg</parameter>
+ parameter. The <parameter>arg</parameter> parameter is in radians.
</para>
<para>
- See also <function>sin</function> and <function>tan</function>.
+ See also <function>acos</function>, <function>sin</function>
+ <function>tan</function> and <function>deg2rad</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/math/functions/decbin.xml
diff -u phpdoc/en/reference/math/functions/decbin.xml:1.2
phpdoc/en/reference/math/functions/decbin.xml:1.3
--- phpdoc/en/reference/math/functions/decbin.xml:1.2 Wed Apr 17 02:39:51 2002
+++ phpdoc/en/reference/math/functions/decbin.xml Sun Jun 2 07:56:51 2002
@@ -1,5 +1,5 @@
<?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.decbin">
<refnamediv>
@@ -14,11 +14,11 @@
</methodsynopsis>
<para>
Returns a string containing a binary representation of the given
- number argument. The largest number that can be converted is
+ <parameter>number</parameter> argument. The largest number that can be
+converted is
4294967295 in decimal resulting to a string of 32 1's.
</para>
<para>
- See also the <function>bindec</function> function.
+ See also: <function>bindec</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/math/functions/decoct.xml
diff -u phpdoc/en/reference/math/functions/decoct.xml:1.2
phpdoc/en/reference/math/functions/decoct.xml:1.3
--- phpdoc/en/reference/math/functions/decoct.xml:1.2 Wed Apr 17 02:39:51 2002
+++ phpdoc/en/reference/math/functions/decoct.xml Sun Jun 2 07:56:51 2002
@@ -1,5 +1,5 @@
<?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.8 -->
<refentry id="function.decoct">
<refnamediv>
@@ -14,7 +14,7 @@
</methodsynopsis>
<para>
Returns a string containing an octal representation of the given
- number argument. The largest number that can be converted is
+ <parameter>number</parameter> argument. The largest number that can be
+converted is
2147483647 in decimal resulting to "17777777777".
</para>
<para>
Index: phpdoc/en/reference/math/functions/floor.xml
diff -u phpdoc/en/reference/math/functions/floor.xml:1.3
phpdoc/en/reference/math/functions/floor.xml:1.4
--- phpdoc/en/reference/math/functions/floor.xml:1.3 Sat Jun 1 21:47:58 2002
+++ phpdoc/en/reference/math/functions/floor.xml Sun Jun 2 07:56:51 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.floor">
<refnamediv>
@@ -17,10 +17,10 @@
<parameter>value</parameter> if necessary.
The return value of <function>floor</function> is still of type
<type>float</type> because the value range of <type>float</type> is
- usually bigger than that of <type>int</type>.
+ usually bigger than that of <type>integer</type>.
</simpara>
<example>
- <title><function>floor</function> examples</title>
+ <title><function>floor</function> example</title>
<programlisting role="php">
<![CDATA[
echo floor(4.3); // 4
Index: phpdoc/en/reference/math/functions/sin.xml
diff -u phpdoc/en/reference/math/functions/sin.xml:1.3
phpdoc/en/reference/math/functions/sin.xml:1.4
--- phpdoc/en/reference/math/functions/sin.xml:1.3 Sat Jun 1 21:17:15 2002
+++ phpdoc/en/reference/math/functions/sin.xml Sun Jun 2 07:56:51 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.sin">
<refnamediv>
@@ -32,8 +32,8 @@
</informalexample>
</para>
<para>
- See also <function>cos</function>, <function>tan</function>
- and <function>deg2rad</function>.
+ See also <function>asin</function>, <function>cos</function>,
+ <function>tan</function> and <function>deg2rad</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/math/functions/tan.xml
diff -u phpdoc/en/reference/math/functions/tan.xml:1.2
phpdoc/en/reference/math/functions/tan.xml:1.3
--- phpdoc/en/reference/math/functions/tan.xml:1.2 Wed Apr 17 02:39:55 2002
+++ phpdoc/en/reference/math/functions/tan.xml Sun Jun 2 07:56:51 2002
@@ -1,5 +1,5 @@
<?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.57 -->
<refentry id="function.tan">
<refnamediv>
@@ -13,10 +13,12 @@
<methodparam><type>float</type><parameter>arg</parameter></methodparam>
</methodsynopsis>
<para>
- Returns the tangent of arg in radians.
+ <function>tan</function> returns the tangent of the <parameter>arg</parameter>
+ parameter. The <parameter>arg</parameter> parameter is in radians.
</para>
<para>
- See also <function>sin</function> and <function>cos</function>.
+ See also <function>atan</function>, <function>sin</function>,
+ <function>cos</function> and <function>deg2rad</function>.
</para>
</refsect1>
</refentry>