didou Wed Mar 10 09:39:13 2004 EDT
Modified files:
/phpdoc/en/reference/math/functions acos.xml acosh.xml asin.xml
asinh.xml atan.xml atanh.xml
base-convert.xml cos.xml
cosh.xml mt-getrandmax.xml
mt-rand.xml mt-srand.xml
octdec.xml pi.xml pow.xml
rand.xml round.xml sin.xml
sinh.xml sqrt.xml srand.xml
tan.xml tanh.xml
Log:
Added title to examples
wrapped the see also lines (make it easy to translate)
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/acos.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/math/functions/acos.xml
diff -u phpdoc/en/reference/math/functions/acos.xml:1.3
phpdoc/en/reference/math/functions/acos.xml:1.4
--- phpdoc/en/reference/math/functions/acos.xml:1.3 Mon Jun 3 11:06:16 2002
+++ phpdoc/en/reference/math/functions/acos.xml Wed Mar 10 09:39:13 2004
@@ -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.57 -->
<refentry id="function.acos">
<refnamediv>
@@ -20,8 +20,10 @@
<function>acos</function>' range.
</para>
<para>
- See also <function>acosh</function>, <function>asin</function>
- and <function>atan</function>.
+ See also:
+ <function>acosh</function>,
+ <function>asin</function>, and
+ <function>atan</function>.
</para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/acosh.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/math/functions/acosh.xml
diff -u phpdoc/en/reference/math/functions/acosh.xml:1.3
phpdoc/en/reference/math/functions/acosh.xml:1.4
--- phpdoc/en/reference/math/functions/acosh.xml:1.3 Mon Jun 3 11:06:16 2002
+++ phpdoc/en/reference/math/functions/acosh.xml Wed Mar 10 09:39:13 2004
@@ -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.acosh">
<refnamediv>
@@ -19,8 +19,10 @@
</para>
¬e.no-windows;
<para>
- See also <function>acos</function>, <function>asinh</function>
- and <function>atanh</function>.
+ See also:
+ <function>acos</function>,
+ <function>asinh</function>, and
+ <function>atanh</function>.
</para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/asin.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/math/functions/asin.xml
diff -u phpdoc/en/reference/math/functions/asin.xml:1.3
phpdoc/en/reference/math/functions/asin.xml:1.4
--- phpdoc/en/reference/math/functions/asin.xml:1.3 Mon Jun 3 11:06:16 2002
+++ phpdoc/en/reference/math/functions/asin.xml Wed Mar 10 09:39:13 2004
@@ -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.57 -->
<refentry id="function.asin">
<refnamediv>
@@ -20,8 +20,10 @@
<function>asin</function>'s range.
</para>
<para>
- See also <function>asinh</function>, <function>acos</function>
- and <function>atan</function>.
+ See also:
+ <function>asinh</function>,
+ <function>acos</function>, and
+ <function>atan</function>.
</para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/asinh.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/math/functions/asinh.xml
diff -u phpdoc/en/reference/math/functions/asinh.xml:1.3
phpdoc/en/reference/math/functions/asinh.xml:1.4
--- phpdoc/en/reference/math/functions/asinh.xml:1.3 Mon Jun 3 11:06:16 2002
+++ phpdoc/en/reference/math/functions/asinh.xml Wed Mar 10 09:39:13 2004
@@ -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.asinh">
<refnamediv>
@@ -19,8 +19,10 @@
</para>
¬e.no-windows;
<para>
- See also <function>asin</function>, <function>acosh</function>
- and <function>atanh</function>.
+ See also:
+ <function>asin</function>,
+ <function>acosh</function>, and
+ <function>atanh</function>.
</para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/atan.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/math/functions/atan.xml
diff -u phpdoc/en/reference/math/functions/atan.xml:1.3
phpdoc/en/reference/math/functions/atan.xml:1.4
--- phpdoc/en/reference/math/functions/atan.xml:1.3 Mon Jun 3 11:06:16 2002
+++ phpdoc/en/reference/math/functions/atan.xml Wed Mar 10 09:39:13 2004
@@ -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.57 -->
<refentry id="function.atan">
<refnamediv>
@@ -20,8 +20,10 @@
<function>atan</function>'s range.
</para>
<para>
- See also <function>atanh</function>, <function>asin</function>
- and <function>acos</function>.
+ See also:
+ <function>atanh</function>,
+ <function>asin</function>, and
+ <function>acos</function>.
</para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/atanh.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/math/functions/atanh.xml
diff -u phpdoc/en/reference/math/functions/atanh.xml:1.3
phpdoc/en/reference/math/functions/atanh.xml:1.4
--- phpdoc/en/reference/math/functions/atanh.xml:1.3 Mon Jun 3 11:06:16 2002
+++ phpdoc/en/reference/math/functions/atanh.xml Wed Mar 10 09:39:13 2004
@@ -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.atanh">
<refnamediv>
@@ -19,8 +19,10 @@
</para>
¬e.no-windows;
<para>
- See also <function>atan</function>, <function>asinh</function>
- and <function>acosh</function>.
+ See also:
+ <function>atan</function>,
+ <function>asinh</function>, and
+ <function>acosh</function>.
</para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/base-convert.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/math/functions/base-convert.xml
diff -u phpdoc/en/reference/math/functions/base-convert.xml:1.3
phpdoc/en/reference/math/functions/base-convert.xml:1.4
--- phpdoc/en/reference/math/functions/base-convert.xml:1.3 Mon Jun 16 14:31:33
2003
+++ phpdoc/en/reference/math/functions/base-convert.xml Wed Mar 10 09:39:13 2004
@@ -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.base-convert">
<refnamediv>
@@ -24,7 +24,7 @@
base higher than 10 will be represented with the letters a-z,
with a meaning 10, b meaning 11 and z meaning 35.
<example>
- <title><function>base_convert</function></title>
+ <title><function>base_convert</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/cos.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/math/functions/cos.xml
diff -u phpdoc/en/reference/math/functions/cos.xml:1.4
phpdoc/en/reference/math/functions/cos.xml:1.5
--- phpdoc/en/reference/math/functions/cos.xml:1.4 Tue Oct 21 07:48:57 2003
+++ phpdoc/en/reference/math/functions/cos.xml Wed Mar 10 09:39:13 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.cos">
<refnamediv>
@@ -13,7 +13,7 @@
<methodparam><type>float</type><parameter>arg</parameter></methodparam>
</methodsynopsis>
<para>
- <function>cos</function> returns the cosine of the <parameter>arg</parameter>
+ <function>cos</function> returns the cosine of the <parameter>arg</parameter>
parameter. The <parameter>arg</parameter> parameter is in radians.
</para>
<para>
@@ -31,8 +31,11 @@
</example>
</para>
<para>
- See also <function>acos</function>, <function>sin</function>,
- <function>tan</function> and <function>deg2rad</function>.
+ See also:
+ <function>acos</function>,
+ <function>sin</function>,
+ <function>tan</function>, and
+ <function>deg2rad</function>.
</para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/cosh.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/math/functions/cosh.xml
diff -u phpdoc/en/reference/math/functions/cosh.xml:1.2
phpdoc/en/reference/math/functions/cosh.xml:1.3
--- phpdoc/en/reference/math/functions/cosh.xml:1.2 Wed Apr 17 02:39:50 2002
+++ phpdoc/en/reference/math/functions/cosh.xml Wed Mar 10 09:39:13 2004
@@ -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.cosh">
<refnamediv>
@@ -17,8 +17,11 @@
defined as <literal>(exp(arg) + exp(-arg))/2</literal>.
</para>
<para>
- See also <function>cos</function>, <function>acosh</function>,
- <function>sin</function> and <function>tan</function>.
+ See also:
+ <function>cos</function>,
+ <function>acosh</function>,
+ <function>sin</function>, and
+ <function>tan</function>.
</para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/mt-getrandmax.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/math/functions/mt-getrandmax.xml
diff -u phpdoc/en/reference/math/functions/mt-getrandmax.xml:1.3
phpdoc/en/reference/math/functions/mt-getrandmax.xml:1.4
--- phpdoc/en/reference/math/functions/mt-getrandmax.xml:1.3 Mon Jun 3 11:06:16
2002
+++ phpdoc/en/reference/math/functions/mt-getrandmax.xml Wed Mar 10 09:39:13
2004
@@ -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.mt-getrandmax">
<refnamediv>
@@ -17,8 +17,10 @@
<function>mt_rand</function>.
</simpara>
<simpara>
- See also <function>mt_rand</function>,
- <function>mt_srand</function> and <function>getrandmax</function>.
+ See also:
+ <function>mt_rand</function>,
+ <function>mt_srand</function>, and
+ <function>getrandmax</function>.
</simpara>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/mt-rand.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/math/functions/mt-rand.xml
diff -u phpdoc/en/reference/math/functions/mt-rand.xml:1.8
phpdoc/en/reference/math/functions/mt-rand.xml:1.9
--- phpdoc/en/reference/math/functions/mt-rand.xml:1.8 Tue Feb 17 22:13:27 2004
+++ phpdoc/en/reference/math/functions/mt-rand.xml Wed Mar 10 09:39:13 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.mt-rand">
<refnamediv>
@@ -21,7 +21,7 @@
replacement for this. It uses a random number generator with
known characteristics using the <ulink url="&url.mersenne;">
Mersenne Twister</ulink>, which will produce random numbers four times
- faster than what the average libc rand() provides.
+ faster than what the average libc rand() provides.
</simpara>
<simpara>
If called without the optional <parameter>min</parameter>,
@@ -68,8 +68,9 @@
</para>
</note>
<simpara>
- See also <function>mt_srand</function>,
- <function>mt_getrandmax</function> and
+ See also:
+ <function>mt_srand</function>,
+ <function>mt_getrandmax</function>, and
<function>rand</function>.
</simpara>
</refsect1>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/mt-srand.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/math/functions/mt-srand.xml
diff -u phpdoc/en/reference/math/functions/mt-srand.xml:1.7
phpdoc/en/reference/math/functions/mt-srand.xml:1.8
--- phpdoc/en/reference/math/functions/mt-srand.xml:1.7 Thu Jan 15 07:42:47 2004
+++ phpdoc/en/reference/math/functions/mt-srand.xml Wed Mar 10 09:39:13 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.mt-srand">
<refnamediv>
@@ -17,12 +17,15 @@
<parameter>seed</parameter>.
Since PHP 4.2.0, the <parameter>seed</parameter>
becomes optional and defaults to a random value if omitted.
- <informalexample>
+ </para>
+ <para>
+ <example>
+ <title><function>mt_srand</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
// seed with microseconds
-function make_seed()
+function make_seed()
{
list($usec, $sec) = explode(' ', microtime());
return (float) $sec + ((float) $usec * 100000);
@@ -32,14 +35,16 @@
?>
]]>
</programlisting>
- </informalexample>
+ </example>
</para>
-
+
¬e.randomseed;
<simpara>
- See also <function>mt_rand</function>,
- <function>mt_getrandmax</function> and <function>srand</function>.
+ See also:
+ <function>mt_rand</function>,
+ <function>mt_getrandmax</function>, and
+ <function>srand</function>.
</simpara>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/octdec.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/math/functions/octdec.xml
diff -u phpdoc/en/reference/math/functions/octdec.xml:1.4
phpdoc/en/reference/math/functions/octdec.xml:1.5
--- phpdoc/en/reference/math/functions/octdec.xml:1.4 Thu Dec 18 04:23:58 2003
+++ phpdoc/en/reference/math/functions/octdec.xml Wed Mar 10 09:39:13 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.octdec">
<refnamediv>
@@ -41,9 +41,10 @@
</example>
</para>
<para>
- See also <function>decoct</function>,
+ See also:
+ <function>decoct</function>,
<function>bindec</function>,
- <function>hexdec</function> and
+ <function>hexdec</function>, and
<function>base_convert</function>.
</para>
</refsect1>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/pi.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/math/functions/pi.xml
diff -u phpdoc/en/reference/math/functions/pi.xml:1.4
phpdoc/en/reference/math/functions/pi.xml:1.5
--- phpdoc/en/reference/math/functions/pi.xml:1.4 Sat Aug 16 13:35:22 2003
+++ phpdoc/en/reference/math/functions/pi.xml Wed Mar 10 09:39:13 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.pi">
<refnamediv>
@@ -13,25 +13,26 @@
<void/>
</methodsynopsis>
<simpara>
- Returns an approximation of pi. The returned <type>float</type>
- has a precision based on the
+ Returns an approximation of pi. The returned <type>float</type>
+ has a precision based on the
<link linkend="ini.precision">precision</link> directive in
- &php.ini;, which defaults to <literal>14</literal>.
- Also, you can use the <constant>M_PI</constant> constant which yields
+ &php.ini;, which defaults to <literal>14</literal>.
+ Also, you can use the <constant>M_PI</constant> constant which yields
identical results to <function>pi</function>.
</simpara>
- <para>
- <informalexample>
- <programlisting role="php">
+ <para>
+ <example>
+ <title><function>pi</function> example</title>
+ <programlisting role="php">
<![CDATA[
<?php
echo pi(); // 3.1415926535898
echo M_PI; // 3.1415926535898
?>
]]>
- </programlisting>
- </informalexample>
- </para>
+ </programlisting>
+ </example>
+ </para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/pow.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/math/functions/pow.xml
diff -u phpdoc/en/reference/math/functions/pow.xml:1.6
phpdoc/en/reference/math/functions/pow.xml:1.7
--- phpdoc/en/reference/math/functions/pow.xml:1.6 Sun Feb 22 18:28:49 2004
+++ phpdoc/en/reference/math/functions/pow.xml Wed Mar 10 09:39:13 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.pow">
<refnamediv>
@@ -14,7 +14,7 @@
<methodparam><type>number</type><parameter>exp</parameter></methodparam>
</methodsynopsis>
<para>
- Returns <parameter>base</parameter> raised to the power of
+ Returns <parameter>base</parameter> raised to the power of
<parameter>exp</parameter>. If possible, this function will
return an <type>integer</type>.
</para>
@@ -50,9 +50,12 @@
a <type>float</type>, and did not issue warnings.
</para>
</warning>
- <para>
- See also <function>exp</function>, <function>sqrt</function>,
- <function>bcpow</function> and <function>gmp_pow</function>,
+ <para>
+ See also:
+ <function>exp</function>,
+ <function>sqrt</function>,
+ <function>bcpow</function>, and
+ <function>gmp_pow</function>,
</para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/rand.xml?r1=1.11&r2=1.12&ty=u
Index: phpdoc/en/reference/math/functions/rand.xml
diff -u phpdoc/en/reference/math/functions/rand.xml:1.11
phpdoc/en/reference/math/functions/rand.xml:1.12
--- phpdoc/en/reference/math/functions/rand.xml:1.11 Thu Jan 29 23:39:50 2004
+++ phpdoc/en/reference/math/functions/rand.xml Wed Mar 10 09:39:13 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.rand">
<refnamediv>
@@ -19,7 +19,7 @@
returns a pseudo-random integer between 0 and
<constant>RAND_MAX</constant>. If you want a random number
between 5 and 15 (inclusive), for example, use <literal>rand (5,
- 15)</literal>.
+ 15)</literal>.
</simpara>
<para>
<example>
@@ -53,7 +53,7 @@
using <function>mt_rand</function> instead.
</simpara>
</note>
-
+
¬e.randomseed;
<note>
@@ -66,8 +66,9 @@
</para>
</note>
<simpara>
- See also <function>srand</function>,
- <function>getrandmax</function>, and
+ See also:
+ <function>srand</function>,
+ <function>getrandmax</function>, and
<function>mt_rand</function>.
</simpara>
</refsect1>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/round.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/math/functions/round.xml
diff -u phpdoc/en/reference/math/functions/round.xml:1.7
phpdoc/en/reference/math/functions/round.xml:1.8
--- phpdoc/en/reference/math/functions/round.xml:1.7 Wed Feb 25 02:36:36 2004
+++ phpdoc/en/reference/math/functions/round.xml Wed Mar 10 09:39:13 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.round">
<refnamediv>
@@ -15,7 +15,7 @@
</methodsynopsis>
<para>
Returns the rounded value of <parameter>val</parameter> to
- specified <parameter>precision</parameter>
+ specified <parameter>precision</parameter>
(number of digits after the decimal point).
<parameter>precision</parameter> can also be negative or zero (default).
</para>
@@ -65,15 +65,16 @@
</para>
<para>
<note>
- <simpara>
+ <simpara>
The <parameter>precision</parameter> parameter is only
- available in PHP 4.
+ available in PHP 4.
</simpara>
</note>
</para>
<simpara>
- See also <function>ceil</function>,
- <function>floor</function> and
+ See also:
+ <function>ceil</function>,
+ <function>floor</function>, and
<function>number_format</function>.
</simpara>
</refsect1>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/sin.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/math/functions/sin.xml
diff -u phpdoc/en/reference/math/functions/sin.xml:1.6
phpdoc/en/reference/math/functions/sin.xml:1.7
--- phpdoc/en/reference/math/functions/sin.xml:1.6 Mon Dec 15 11:51:58 2003
+++ phpdoc/en/reference/math/functions/sin.xml Wed Mar 10 09:39:13 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.sin">
<refnamediv>
@@ -13,11 +13,12 @@
<methodparam><type>float</type><parameter>arg</parameter></methodparam>
</methodsynopsis>
<para>
- <function>sin</function> returns the sine of the <parameter>arg</parameter>
+ <function>sin</function> returns the sine of the <parameter>arg</parameter>
parameter. The <parameter>arg</parameter> parameter is in radians.
</para>
<para>
- <informalexample>
+ <example>
+ <title><function>sin</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
@@ -29,11 +30,14 @@
?>
]]>
</programlisting>
- </informalexample>
+ </example>
</para>
<para>
- See also <function>asin</function>, <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>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/sinh.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/math/functions/sinh.xml
diff -u phpdoc/en/reference/math/functions/sinh.xml:1.2
phpdoc/en/reference/math/functions/sinh.xml:1.3
--- phpdoc/en/reference/math/functions/sinh.xml:1.2 Wed Apr 17 02:39:55 2002
+++ phpdoc/en/reference/math/functions/sinh.xml Wed Mar 10 09:39:13 2004
@@ -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.sinh">
<refnamediv>
@@ -17,8 +17,11 @@
defined as <literal>(exp(arg) - exp(-arg))/2</literal>.
</para>
<para>
- See also <function>sin</function>, <function>asinh</function>,
- <function>cos</function> and <function>tan</function>.
+ See also:
+ <function>sin</function>,
+ <function>asinh</function>,
+ <function>cos</function>, and
+ <function>tan</function>.
</para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/sqrt.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/math/functions/sqrt.xml
diff -u phpdoc/en/reference/math/functions/sqrt.xml:1.4
phpdoc/en/reference/math/functions/sqrt.xml:1.5
--- phpdoc/en/reference/math/functions/sqrt.xml:1.4 Sat Aug 16 13:35:22 2003
+++ phpdoc/en/reference/math/functions/sqrt.xml Wed Mar 10 09:39:13 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.sqrt">
<refnamediv>
@@ -16,7 +16,8 @@
Returns the square root of <parameter>arg</parameter>.
</para>
<para>
- <informalexample>
+ <example>
+ <title><function>sqrt</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
@@ -26,7 +27,7 @@
?>
]]>
</programlisting>
- </informalexample>
+ </example>
</para>
<para>
See also <function>pow</function>.
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/srand.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/math/functions/srand.xml
diff -u phpdoc/en/reference/math/functions/srand.xml:1.7
phpdoc/en/reference/math/functions/srand.xml:1.8
--- phpdoc/en/reference/math/functions/srand.xml:1.7 Thu Jan 15 07:42:47 2004
+++ phpdoc/en/reference/math/functions/srand.xml Wed Mar 10 09:39:13 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.srand">
<refnamediv>
@@ -13,16 +13,18 @@
<methodparam
choice="opt"><type>int</type><parameter>seed</parameter></methodparam>
</methodsynopsis>
<para>
- Seeds the random number generator with
- <parameter>seed</parameter>.
+ Seeds the random number generator with <parameter>seed</parameter>.
Since PHP 4.2.0, the <parameter>seed</parameter>
becomes optional and defaults to a random value if omitted.
- <informalexample>
+ </para>
+ <para>
+ <example>
+ <title><function>srand</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
// seed with microseconds
-function make_seed()
+function make_seed()
{
list($usec, $sec) = explode(' ', microtime());
return (float) $sec + ((float) $usec * 100000);
@@ -32,14 +34,15 @@
?>
]]>
</programlisting>
- </informalexample>
+ </example>
</para>
-
+
¬e.randomseed;
<simpara>
- See also <function>rand</function>,
- <function>getrandmax</function> and
+ See also:
+ <function>rand</function>,
+ <function>getrandmax</function>, and
<function>mt_srand</function>.
</simpara>
</refsect1>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/tan.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/math/functions/tan.xml
diff -u phpdoc/en/reference/math/functions/tan.xml:1.4
phpdoc/en/reference/math/functions/tan.xml:1.5
--- phpdoc/en/reference/math/functions/tan.xml:1.4 Tue Oct 21 07:48:57 2003
+++ phpdoc/en/reference/math/functions/tan.xml Wed Mar 10 09:39:13 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.57 -->
<refentry id="function.tan">
<refnamediv>
@@ -13,7 +13,7 @@
<methodparam><type>float</type><parameter>arg</parameter></methodparam>
</methodsynopsis>
<para>
- <function>tan</function> returns the tangent of the <parameter>arg</parameter>
+ <function>tan</function> returns the tangent of the <parameter>arg</parameter>
parameter. The <parameter>arg</parameter> parameter is in radians.
</para>
<para>
@@ -31,8 +31,11 @@
</example>
</para>
<para>
- See also <function>atan</function>, <function>sin</function>,
- <function>cos</function> and <function>deg2rad</function>.
+ See also:
+ <function>atan</function>,
+ <function>sin</function>,
+ <function>cos</function>, and
+ <function>deg2rad</function>.
</para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/tanh.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/math/functions/tanh.xml
diff -u phpdoc/en/reference/math/functions/tanh.xml:1.2
phpdoc/en/reference/math/functions/tanh.xml:1.3
--- phpdoc/en/reference/math/functions/tanh.xml:1.2 Wed Apr 17 02:39:55 2002
+++ phpdoc/en/reference/math/functions/tanh.xml Wed Mar 10 09:39:13 2004
@@ -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.tanh">
<refnamediv>
@@ -17,8 +17,11 @@
defined as <literal>sinh(arg)/cosh(arg)</literal>.
</para>
<para>
- See also <function>tan</function>, <function>atanh</function>,
- <function>sin</function> and <function>cos</function>.
+ See also:
+ <function>tan</function>,
+ <function>atanh</function>,
+ <function>sin</function>, and
+ <function>cos</function>.
</para>
</refsect1>
</refentry>