mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Various small changes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@84417 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
0833c63fa2
commit
0982f71af9
9 changed files with 30 additions and 27 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 @@ print sin(60); // -0.304810621 ...
|
|||
</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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue