nlopess Sat Sep 25 05:27:27 2004 EDT
Modified files:
/phpdoc/en/reference/math/functions expm1.xml log1p.xml
/phpdoc/en/reference/pgsql/functions pg-parameter-status.xml
pg-version.xml
Log:
initial docs
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/expm1.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/math/functions/expm1.xml
diff -u phpdoc/en/reference/math/functions/expm1.xml:1.4
phpdoc/en/reference/math/functions/expm1.xml:1.5
--- phpdoc/en/reference/math/functions/expm1.xml:1.4 Thu Dec 18 04:38:33 2003
+++ phpdoc/en/reference/math/functions/expm1.xml Sat Sep 25 05:27:22 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.63 -->
<refentry id='function.expm1'>
<refnamediv>
@@ -11,15 +11,23 @@
</refnamediv>
<refsect1>
<title>Description</title>
- <methodsynopsis>
- <type>float</type><methodname>expm1</methodname>
- <methodparam><type>float</type><parameter>number</parameter></methodparam>
- </methodsynopsis>
- &warn.experimental.func;
+ <methodsynopsis>
+ <type>float</type><methodname>expm1</methodname>
+ <methodparam><type>float</type><parameter>number</parameter></methodparam>
+ </methodsynopsis>
+ &warn.experimental.func;
<para>
- &warn.undocumented.func;
+ <function>expm1</function> returns the equivalent to
+ 'exp(<parameter>number</parameter>) - 1' computed in a way that is
+ accurate even if the value of <parameter>number</parameter> is near zero,
+ a case where 'exp (<parameter>number</parameter>) - 1' would be
+ inaccurate due to subtraction of two numbers that are nearly equal.
</para>
¬e.no-windows;
+ <para>
+ See also <function>log1p</function> and
+ <function>exp</function>.
+ </para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/log1p.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/math/functions/log1p.xml
diff -u phpdoc/en/reference/math/functions/log1p.xml:1.5
phpdoc/en/reference/math/functions/log1p.xml:1.6
--- phpdoc/en/reference/math/functions/log1p.xml:1.5 Thu Feb 19 18:21:51 2004
+++ phpdoc/en/reference/math/functions/log1p.xml Sat Sep 25 05:27:22 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.63 -->
<refentry id='function.log1p'>
<refnamediv>
@@ -11,15 +11,21 @@
</refnamediv>
<refsect1>
<title>Description</title>
- <methodsynopsis>
- <type>float</type><methodname>log1p</methodname>
- <methodparam><type>float</type><parameter>number</parameter></methodparam>
- </methodsynopsis>
+ <methodsynopsis>
+ <type>float</type><methodname>log1p</methodname>
+ <methodparam><type>float</type><parameter>number</parameter></methodparam>
+ </methodsynopsis>
&warn.experimental.func;
<para>
- &warn.undocumented.func;
+ <function>log1p</function> returns log(1 +
+ <parameter>number</parameter>) computed in a way that is accurante even
+ when the value of <parameter>number</parameter> is close to zero.
</para>
¬e.no-windows;
+ <para>
+ See also <function>expm1</function> and
+ <function>log</function>.
+ </para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-parameter-status.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/pgsql/functions/pg-parameter-status.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-parameter-status.xml:1.2
phpdoc/en/reference/pgsql/functions/pg-parameter-status.xml:1.3
--- phpdoc/en/reference/pgsql/functions/pg-parameter-status.xml:1.2 Fri Aug 13
12:12:05 2004
+++ phpdoc/en/reference/pgsql/functions/pg-parameter-status.xml Sat Sep 25 05:27:26
2004
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.pg-parameter-status">
<refnamediv>
<refname>pg_parameter_status</refname>
@@ -12,11 +12,17 @@
<methodsynopsis>
<type>string</type><methodname>pg_parameter_status</methodname>
<methodparam
choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
- <methodparam
choice="opt"><type>string</type><parameter>param_name</parameter></methodparam>
+ <methodparam><type>string</type><parameter>param_name</parameter></methodparam>
</methodsynopsis>
-
- &warn.undocumented.func;
-
+ <para>
+ <function>pg_parameter_status</function> returns a string with the
+ current <parameter>param_name</parameter> value. Returns &false; on
+ failure.
+ </para>
+ <para>
+ The parameters currently avaliable include: server_version,
+ client_encoding, is_superuser, session_authorization, and DateStyle.
+ </para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-version.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc/en/reference/pgsql/functions/pg-version.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-version.xml:1.1
phpdoc/en/reference/pgsql/functions/pg-version.xml:1.2
--- phpdoc/en/reference/pgsql/functions/pg-version.xml:1.1 Sun May 2 11:47:00
2004
+++ phpdoc/en/reference/pgsql/functions/pg-version.xml Sat Sep 25 05:27:26 2004
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.pg-version">
<refnamediv>
<refname>pg_version</refname>
@@ -13,9 +13,11 @@
<type>array</type><methodname>pg_version</methodname>
<methodparam
choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
</methodsynopsis>
-
- &warn.undocumented.func;
-
+ <para>
+ <function>pg_version</function> returns an array with the client, protocol
+ and server version. Protocol and server versions are only avaliable if PHP
+ was compiled with PostgreSQL 7.4 or later.
+ </para>
</refsect1>
</refentry>