From 7d8389d5bd38ceabc1703ad1a8c1a69988d84385 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Sat, 25 Sep 2004 09:27:26 +0000 Subject: [PATCH] initial docs git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@169153 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/math/functions/expm1.xml | 22 +++++++++++++------ reference/math/functions/log1p.xml | 18 ++++++++++----- .../pgsql/functions/pg-parameter-status.xml | 16 +++++++++----- reference/pgsql/functions/pg-version.xml | 10 +++++---- 4 files changed, 44 insertions(+), 22 deletions(-) diff --git a/reference/math/functions/expm1.xml b/reference/math/functions/expm1.xml index e535e35d58..f20c968301 100644 --- a/reference/math/functions/expm1.xml +++ b/reference/math/functions/expm1.xml @@ -1,5 +1,5 @@ - + @@ -11,15 +11,23 @@ Description - - floatexpm1 - floatnumber - - &warn.experimental.func; + + floatexpm1 + floatnumber + + &warn.experimental.func; - &warn.undocumented.func; + expm1 returns the equivalent to + 'exp(number) - 1' computed in a way that is + accurate even if the value of number is near zero, + a case where 'exp (number) - 1' would be + inaccurate due to subtraction of two numbers that are nearly equal. ¬e.no-windows; + + See also log1p and + exp. + diff --git a/reference/math/functions/log1p.xml b/reference/math/functions/log1p.xml index e65e7382dd..9d37dd363f 100644 --- a/reference/math/functions/log1p.xml +++ b/reference/math/functions/log1p.xml @@ -1,5 +1,5 @@ - + @@ -11,15 +11,21 @@ Description - - floatlog1p - floatnumber - + + floatlog1p + floatnumber + &warn.experimental.func; - &warn.undocumented.func; + log1p returns log(1 + + number) computed in a way that is accurante even + when the value of number is close to zero. ¬e.no-windows; + + See also expm1 and + log. + diff --git a/reference/pgsql/functions/pg-parameter-status.xml b/reference/pgsql/functions/pg-parameter-status.xml index 73b32b0dc4..68d752aa71 100644 --- a/reference/pgsql/functions/pg-parameter-status.xml +++ b/reference/pgsql/functions/pg-parameter-status.xml @@ -1,5 +1,5 @@ - + pg_parameter_status @@ -12,11 +12,17 @@ stringpg_parameter_status resourceconnection - stringparam_name + stringparam_name - - &warn.undocumented.func; - + + pg_parameter_status returns a string with the + current param_name value. Returns &false; on + failure. + + + The parameters currently avaliable include: server_version, + client_encoding, is_superuser, session_authorization, and DateStyle. + diff --git a/reference/pgsql/functions/pg-version.xml b/reference/pgsql/functions/pg-version.xml index 645df47626..5c7c603196 100644 --- a/reference/pgsql/functions/pg-version.xml +++ b/reference/pgsql/functions/pg-version.xml @@ -1,5 +1,5 @@ - + pg_version @@ -13,9 +13,11 @@ arraypg_version resourceconnection - - &warn.undocumented.func; - + + pg_version 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. +