[PHP-DOC] cvs: phpdoc /de/functions math.xml

2002-03-30 Thread Egon Schmid

eschmid Sat Mar 30 23:21:13 2002 EDT

  Modified files:  
/phpdoc/de/functionsmath.xml 
  Log:
  Fixed a typo
  
Index: phpdoc/de/functions/math.xml
diff -u phpdoc/de/functions/math.xml:1.22 phpdoc/de/functions/math.xml:1.23
--- phpdoc/de/functions/math.xml:1.22   Fri Mar 22 12:31:33 2002
+++ phpdoc/de/functions/math.xmlSat Mar 30 23:21:13 2002
 -230,7 +230,7 
  Diese Funktion liefert einen String, der
  parameternumber/parameter zur Basis
  parametertobase/parameter enthält. Der Parameter
- parameterfrombase/parameter giebt die Basis des Eingabewertes
+ parameterfrombase/parameter gibt die Basis des Eingabewertes
  parameternumber/parameter an. parametertobase/parameter
  und parametertobase/parameter können Werte von 2 bis
  einschließlich 36 enthalten. Für die Darstellung von Werten mit





[PHP-DOC] cvs: phpdoc /hu/functions math.xml pcre.xml

2002-03-29 Thread Gabor Hojtsy

gobaFri Mar 29 14:28:10 2002 EDT

  Modified files:  
/phpdoc/hu/functionsmath.xml pcre.xml 
  Log:
  Getting in sync, and more ;)
  
  
Index: phpdoc/hu/functions/math.xml
diff -u phpdoc/hu/functions/math.xml:1.16 phpdoc/hu/functions/math.xml:1.17
--- phpdoc/hu/functions/math.xml:1.16   Mon Mar 18 15:15:24 2002
+++ phpdoc/hu/functions/math.xmlFri Mar 29 14:28:10 2002
 -1,5 +1,5 
 ?xml version=1.0 encoding=iso-8859-2 ?
-!-- EN-Revision: 1.77 Maintainer: gerzson Status: ready --
+!-- EN-Revision: 1.78 Maintainer: gerzson Status: ready --
 
  reference id=ref.math
   titleMatematikai függvények/title
 -1149,7 +1149,7 
  /methodsynopsis
 simpara
  PI megközelítõleg pontos értékét adja vissza. A visszaadott typefloat/type
- érték pontossága a filenamephp.ini/filename-ben megadott link 
+ érték pontossága a php.ini;-ben megadott link 
  linkend=ini.precisionprecision/link beállítástól függ, amely 
  alapértelmezésben literal14/literal. A constantM_PI/constant 
  állandó használata ugyanazt az eredményt adja, mint a 
Index: phpdoc/hu/functions/pcre.xml
diff -u phpdoc/hu/functions/pcre.xml:1.15 phpdoc/hu/functions/pcre.xml:1.16
--- phpdoc/hu/functions/pcre.xml:1.15   Fri Mar 22 06:41:47 2002
+++ phpdoc/hu/functions/pcre.xmlFri Mar 29 14:28:10 2002
 -1,5 +1,5 
 ?xml version=1.0 encoding=iso-8859-2?
-!-- EN-Revision: 1.76 Maintainer: gerzson Status: ready --
+!-- EN-Revision: 1.78 Maintainer: gerzson Status: ready --
 
 reference id=ref.pcre
  titleReguláris kifejezések függvényei (Perl kompatibilis)/title
 -49,15 +49,14 
section id=pcre.configuration
 titleFutásidejû beállítások/title
 para
- Ehhez a kiterjesztéshez nem tartozik semmilyen külön konfigurációs beállítás
- sem.
+ no.config;
 /para
/section
 
section id=pcre.resources
 titleErõforrás típusok/title
 para
- Ez a kiterjesztés nem definiál semmilyen erõforrást sem.
+ no.resource;
 /para
/section
 





Re: [PHP-DOC] cvs: phpdoc /de/functions math.xml

2002-03-22 Thread Egon Schmid

Oh my ? It was Hartmut, who speaks sometimes in a never existing
language from a city which had never existed. If it does make you
happy, we should change the Bielefeld slang to the Swabian slang.

-Egon

- Original Message -
From: Thomas Schoefbeck [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 22, 2002 6:31 PM
Subject: [PHP-DOC] cvs: phpdoc /de/functions math.xml


 tom Fri Mar 22 12:31:34 2002 EDT

   Modified files:
 /phpdoc/de/functions math.xml
   Log:
   some typos

 Index: phpdoc/de/functions/math.xml
 diff -u phpdoc/de/functions/math.xml:1.21
phpdoc/de/functions/math.xml:1.22
 --- phpdoc/de/functions/math.xml:1.21 Sat Feb  2 10:34:04 2002
 +++ phpdoc/de/functions/math.xml Fri Mar 22 12:31:33 2002
 @@ -203,8 +203,8 @@
   Diese Funktion berechnet den Arcustangens aus den Parametern
   parameterx/parameter und parametery/parameter im
Bereich
   (-para;; para;].  Dieser entspricht weitgehend dem
Arcustangens
 - aus x / y, allerdingskann hier das Vorzeichen beider
Parameter
 - ausgewertet und so der Quadrant des Ergebnises bestimmt
werden.
 + aus x / y, allerdings kann hier das Vorzeichen beider
Parameter
 + ausgewertet und so der Quadrant des Ergebnisses bestimmt
werden.
  /para
  para
   Siehe auch functionatan/function,
functionacos/function,
 @@ -260,7 +260,7 @@

methodparamtypestring/typeparameterbinary_string/parameter
/methodparam
   /methodsynopsis
  para
 - Liefert die dezimale Entsprechnung der in
 + Liefert die dezimale Entsprechung der in
   parameterbinary_string/parameter übergebenen binären
   Zahl. Der größte konvertierbare Wert ist ein String aus 31
   Einsen, das entspricht 2147483647 dezimal (2 hoch 32 minus
1).
 @@ -327,7 +327,7 @@

methodparamtypeint/typeparameternumber/parameter/methodpa
ram
   /methodsynopsis
  para
 - Diese Funktion liefert eine binäre Representation von
 + Diese Funktion liefert eine binäre Repräsentation von
   parameternumber/parameter als String zurück.  Der größte
   konvertierbare Wert für parameternumber/parameter ist
dezimal
   4294967295, dies entspricht (2 hoch 32)-1 und liefert einen
String
 @@ -352,7 +352,7 @@

methodparamtypeint/typeparameternumber/parameter/methodpa
ram
   /methodsynopsis
  para
 - Diese Funktion liefert eine hexadezimale Representation von
 + Diese Funktion liefert eine hexadezimale Repräsentation von
   parameternumber/parameter als String zurück.  Der größte
   konvertierbare Wert für parameternumber/parameter ist
dezimal
   2147483647, dies entspricht (2 hoch 32)-1 und liefet als
Ergebnis
 @@ -377,7 +377,7 @@

methodparamtypeint/typeparameternumber/parameter/methodpa
ram
   /methodsynopsis
  para
 - Diese Funktion liefert eine oktale (zur Basis 8)
Representation
 + Diese Funktion liefert eine oktale (zur Basis 8)
Repräsentation
   von parameternumber/parameter als String zurück.  Der
größte
   konvertierbare Wert für parameternumber/parameter ist
dezimal
   2147483647, dies entspricht (2 hoch 32)-1 und liefet als
Ergebnis
 @@ -488,7 +488,7 @@

methodparamtypestring/typeparameterhex_string/parameter/m
ethodparam
   /methodsynopsis
  para
 - Liefert die dezimale Entsprechnung der in
 + Liefert die dezimale Entsprechung der in
   parameterhex_string/parameter übergebenen hexadezimalen
   Zahl. Der größte konvertierbare Wert ist 7fff, das
   entspricht 2147483647 dezimal (2 hoch 32 minus 1).
 @@ -561,14 +561,14 @@
  /para
  para
   Ist der erste Parameter ein Array, so wird der größte Wert
 - innerhalb dieses Array zurückgegeben. Anderenfalls müßen
 + innerhalb dieses Array zurückgegeben. Anderenfalls müssen
   mindestens zwei Parameter übergeben werden, und
   functionmax/function liefert den Wert des größten
Parameters
 - zurück. Die Anzahl der Eingabe-Paramter ist nur durch den
 + zurück. Die Anzahl der Eingabe-Parameter ist nur durch den
   verfügbaren Hauptspeicher begrenzt.
  /para
  para
 - Ist mindestens einer der Eigabewerte vom Typ double, so
werden
 + Ist mindestens einer der Eingabewerte vom Typ double, so
werden
   alle Werte als double behandelt und der Rückgabewert ist
   ebenfalls vom Typ double. Anderenfalls werden alle
Eingabewerte
   als int behandelt und auch ein int zurückgegeben.
 @@ -598,14 +598,14 @@
  /para
  para
   Ist der erste Parameter ein Array, so wird der kleinste Wert
 - innerhalb dieses Array zurückgegeben. Anderenfalls müßen
 + innerhalb dieses Array zurückgegeben. Anderenfalls müssen
   mindestens zwei Parameter übergeben werden, und
   functionmin/function liefert den Wert des kleinsten
 - Parameters zurück. Die Anzahl der Eingabe-Paramter ist nur
durch
 + Parameters zurück. Die Anzahl der Eingabe-Parameter ist nur
durch
   den verfügbaren Hauptspeicher begrenzt.
  /para

Re: [PHP-DOC] cvs: phpdoc /de/functions math.xml

2002-03-22 Thread Hartmut Holzgraefe

Egon Schmid wrote:
 Oh my ? It was Hartmut, who speaks sometimes in a never existing
 language from a city which had never existed. If it does make you
 happy, we should change the Bielefeld slang to the Swabian slang.
 

The city that doesn't exist pretends to be located next to the
Hannover area, so we are, as opposed to the Swabians, more or less
capable of Hochdeutsch and have only a slightly spoken, but no
written slang or dialect.

The file was translated on an IC train with broken aircondition
somewhere between Mainz and Cologne, maybe this explains something


-- 
Hartmut Holzgraefe  [EMAIL PROTECTED]  http://www.six.de  +49-711-99091-77




[PHP-DOC] cvs: phpdoc /pt_BR/functions math.xml

2002-03-19 Thread Alessander Pery Lopes Thomaz

kappu   Tue Mar 19 23:42:04 2002 EDT

  Added files: 
/phpdoc/pt_BR/functions math.xml 
  Log:
  working
  


Index: phpdoc/pt_BR/functions/math.xml
+++ phpdoc/pt_BR/functions/math.xml
?xml version=1.0 encoding=iso-8859-1?
!-- $Revision: 1.1 $ --
!-- EN-Revision: 1.77 Maintainer: kappu Status: working -- 
 reference id=ref.math
  titleFunções Matemáticas/title
  titleabbrevMath/titleabbrev
  
  partintro
   sect1 id=math.intro
titleIntrodução/title
para
 These math functions will only handle values within the range of
 the typeinteger/type and typefloat/type types on your computer.  
 (this corresponds currently to the C types long resp. double)
 If you need to handle bigger numbers, take a look at the link
 linkend=ref.bcarbitrary precision math functions.
/para
sect2 id=math.constants
 titleMath constants/title
 para
  The following values are defined as constants in PHP by the math
  extension:
  table
   titleMath constants/title
   tgroup cols=3
thead
 row
  entryConstant/entry
  entryValue/entry
  entryDescription/entry
 /row
/thead
tbody
row
 entryM_PI/entry
 entry3.14159265358979323846/entry
 entryPi/entry
/row
row
 entryM_E/entry
 entry2.7182818284590452354/entry
 entrye/entry
/row
row
 entryM_LOG2E/entry 
 entry1.4426950408889634074/entry   
 entrylog_2 e/entry
/row
row
 entryM_LOG10E/entry
 entry0.43429448190325182765/entry  
 entrylog_10 e/entry
/row
row
 entryM_LN2/entry   
 entry0.69314718055994530942/entry  
 entrylog_e 2/entry
/row
row
 entryM_LN10/entry  
 entry2.30258509299404568402/entry  
 entrylog_e 10/entry
/row
row
 entryM_PI_2/entry
 entry1.57079632679489661923/entry  
 entrypi/2/entry
/row
row
 entryM_PI_4/entry
entry0.78539816339744830962/entry   
 entrypi/4/entry
/row
row
 entryM_1_PI/entry
 entry0.31830988618379067154/entry  
 entry1/pi/entry
/row
row
 entryM_2_PI/entry
 entry0.63661977236758134308/entry  
 entry2/pi/entry
/row
row
 entryM_SQRTPI/entry
 entry1.77245385090551602729/entry  
 entrysqrt(pi) [4.0.2]/entry
/row
row
 entryM_2_SQRTPI/entry  
 entry1.12837916709551257390/entry  
 entry2/sqrt(pi)/entry
/row
row
 entryM_SQRT2/entry 
 entry1.41421356237309504880/entry  
 entrysqrt(2)/entry
/row
row
 entryM_SQRT3/entry 
 entry1.73205080756887729352/entry  
 entrysqrt(3) [4.0.2]/entry
/row
row
 entryM_SQRT1_2/entry   
 entry0.70710678118654752440/entry  
 entry1/sqrt(2)/entry
/row
row
 entryM_LNPI/entry  
 entry1.14472988584940017414/entry  
 entrylog_e(pi) [4.0.2]/entry
/row
row
 entryM_EULER/entry 
 entry0.57721566490153286061/entry  
 entryEuler constant [4.0.2]/entry
/row
/tbody
   /tgroup
  /table
 Only M_PI is available in PHP versions up to and including PHP 4.0.0.
 All other constants are available starting with PHP 4.0.0.  Constants
 labeled [4.0.2] were added in PHP 4.0.2.
 /para
/sect2
   /sect1
  /partintro

  refentry id=function.abs
   refnamediv
refnameabs/refname
refpurposeAbsolute value/refpurpose
   /refnamediv
   refsect1
titleDescription/title
 methodsynopsis
  typemixed/typemethodnameabs/methodname
  methodparamtypemixed/typeparameternumber/parameter/methodparam
 /methodsynopsis
para
 Returns the absolute value of number.  If the argument number is
 of type typefloat/type, the return type is also typefloat/type, 
 otherwise it is typeinteger/type (as typefloat/type usually has a
 bigger value range than typeinteger/type).
/para
example
 titlefunctionabs/function example/title
 programlisting role=php
![CDATA[
$abs = abs(-4.2); // $abs = 4.2; (double/float)
$abs2 = abs(5);   // $abs2 = 5; (integer)
$abs3 = abs(-5);  // $abs3 = 5; (integer)
]]
 /programlisting
/example
   /refsect1
  /refentry

  refentry id=function.acos
   refnamediv
refnameacos/refname
refpurposeArc cosine/refpurpose
   /refnamediv
   refsect1
titleDescription/title
 methodsynopsis
  typefloat/typemethodnameacos/methodname
  methodparamtypefloat/typeparameterarg/parameter/methodparam
 /methodsynopsis
para
 Returns the arc cosine of parameterarg/parameter in radians.
/para
para
 See also functionacosh/function, functionasin/function
 and functionatan/function.
/para
   /refsect1
  /refentry

  refentry id=function.acosh
   refnamediv
refnameacosh/refname
refpurposeInverse hyperbolic cosine/refpurpose
   /refnamediv
   refsect1
titleDescription/title
 methodsynopsis
  typefloat/typemethodnameacosh/methodname
  

[PHP-DOC] cvs: phpdoc /it/functions math.xml

2002-03-17 Thread Simone Cortesi

cortesi Sun Mar 17 09:30:26 2002 EDT

  Modified files:  
/phpdoc/it/functionsmath.xml 
  Log:
  update to EN 1.77
  
Index: phpdoc/it/functions/math.xml
diff -u phpdoc/it/functions/math.xml:1.26 phpdoc/it/functions/math.xml:1.27
--- phpdoc/it/functions/math.xml:1.26   Mon Mar  4 05:48:09 2002
+++ phpdoc/it/functions/math.xmlSun Mar 17 09:30:25 2002
 -1,5 +1,5 
 ?xml version=1.0 encoding=iso-8859-1?
-!-- EN-Revision: 1.75 Maintainer: cortesi Status: ready --
+!-- EN-Revision: 1.77 Maintainer: cortesi Status: ready --
  reference id=ref.math
   titleFunzioni Matematiche/title
   titleabbrevMat/titleabbrev
 -924,11 +924,7 
 titleDescrizione/title
  methodsynopsis
   typeint/typemethodnamemt_rand/methodname
-  void/
- /methodsynopsis
- methodsynopsis
-  typeint/typemethodnamemt_rand/methodname
-  methodparamtypeint/typeparametermin/parameter/methodparam
+  methodparam 
+choice=opttypeint/typeparametermin/parameter/methodparam
   methodparamtypeint/typeparametermax/parameter/methodparam
  /methodsynopsis
 simpara
 -1262,11 +1258,7 
 titleDescrizione/title
  methodsynopsis
   typeint/typemethodnamerand/methodname
-  void/
- /methodsynopsis
- methodsynopsis
-  typeint/typemethodnamerand/methodname
-  methodparamtypeint/typeparametermin/parameter/methodparam
+  methodparam 
+choice=opttypeint/typeparametermin/parameter/methodparam
   methodparamtypeint/typeparametermax/parameter/methodparam
  /methodsynopsis
 simpara





[PHP-DOC] cvs: phpdoc /pl/functions math.xml

2002-03-17 Thread Slawomir Pucia

slawek  Sun Mar 17 13:04:33 2002 EDT

  Modified files:  
/phpdoc/pl/functionsmath.xml 
  Log:
  Updated to EN 1.77
  
  
Index: phpdoc/pl/functions/math.xml
diff -u phpdoc/pl/functions/math.xml:1.16 phpdoc/pl/functions/math.xml:1.17
--- phpdoc/pl/functions/math.xml:1.16   Fri Mar 15 16:27:38 2002
+++ phpdoc/pl/functions/math.xmlSun Mar 17 13:04:32 2002
 -1,6 +1,6 
 ?xml version=1.0 encoding=iso-8859-2?
-!-- EN-Revision: 1.75 Maintainer: Qrak Status: ready --
-!-- $Revision: 1.16 $ --
+!-- EN-Revision: 1.77 Maintainer: Qrak Status: ready --
+!-- $Revision: 1.17 $ --
  reference id=ref.math
   titleMatematyka/title
   titleabbrevMatematyka/titleabbrev
 -931,11 +931,7 
 titleOpis/title
  methodsynopsis
   typeint/typemethodnamemt_rand/methodname
-  void/
- /methodsynopsis
- methodsynopsis
-  typeint/typemethodnamemt_rand/methodname
-  methodparamtypeint/typeparametermin/parameter/methodparam
+  methodparam 
+choice=opttypeint/typeparametermin/parameter/methodparam
   methodparamtypeint/typeparametermax/parameter/methodparam
  /methodsynopsis
 simpara





[PHP-DOC] cvs: phpdoc /pl/functions math.xml

2002-03-15 Thread Slawomir Pucia

slawek  Fri Mar 15 16:27:39 2002 EDT

  Modified files:  
/phpdoc/pl/functionsmath.xml 
  Log:
  Added missing parameter name.
  
  
Index: phpdoc/pl/functions/math.xml
diff -u phpdoc/pl/functions/math.xml:1.15 phpdoc/pl/functions/math.xml:1.16
--- phpdoc/pl/functions/math.xml:1.15   Mon Mar 11 13:54:56 2002
+++ phpdoc/pl/functions/math.xmlFri Mar 15 16:27:38 2002
 -1,6 +1,6 
 ?xml version=1.0 encoding=iso-8859-2?
 !-- EN-Revision: 1.75 Maintainer: Qrak Status: ready --
-!-- $Revision: 1.15 $ --
+!-- $Revision: 1.16 $ --
  reference id=ref.math
   titleMatematyka/title
   titleabbrevMatematyka/titleabbrev
 -721,7 +721,7 
   titleOpis/title 
methodsynopsis 
 typebool/typemethodnameis_finite/methodname 
-methodparamtypefloat/type/methodparam 
+methodparamtypefloat/typeparameterval/parameter/methodparam
/methodsynopsis 
   para
Zwraca  true;, je¶li argument parameterwarto¶æ/parameter jest





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2002-03-14 Thread Hartmut Holzgraefe

hholzgraThu Mar 14 07:38:05 2002 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  rand() / mt_rand() prototype changes
  
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.76 phpdoc/en/functions/math.xml:1.77
--- phpdoc/en/functions/math.xml:1.76   Thu Mar 14 02:10:37 2002
+++ phpdoc/en/functions/math.xmlThu Mar 14 07:38:05 2002
 -1,5 +1,5 
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.76 $ --
+!-- $Revision: 1.77 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
 -924,11 +924,7 
 titleDescription/title
  methodsynopsis
   typeint/typemethodnamemt_rand/methodname
-  void/
- /methodsynopsis
- methodsynopsis
-  typeint/typemethodnamemt_rand/methodname
-  methodparamtypeint/typeparametermin/parameter/methodparam
+  methodparam 
+choice=opttypeint/typeparametermin/parameter/methodparam
   methodparamtypeint/typeparametermax/parameter/methodparam
  /methodsynopsis
 simpara
 -1262,7 +1258,7 
  methodsynopsis
   typeint/typemethodnamerand/methodname
   methodparam 
choice=opttypeint/typeparametermin/parameter/methodparam
-  methodparam 
choice=opttypeint/typeparametermax/parameter/methodparam
+  methodparamtypeint/typeparametermax/parameter/methodparam
  /methodsynopsis
 simpara
  If called without the optional parametermin/parameter,





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2002-03-13 Thread Philip Olson

philip  Thu Mar 14 02:10:43 2002 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  rand: parameters are optional, removing void reference
  
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.75 phpdoc/en/functions/math.xml:1.76
--- phpdoc/en/functions/math.xml:1.75   Mon Mar  4 05:38:50 2002
+++ phpdoc/en/functions/math.xmlThu Mar 14 02:10:37 2002
 -1,5 +1,5 
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.75 $ --
+!-- $Revision: 1.76 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
 -1261,12 +1261,8 
 titleDescription/title
  methodsynopsis
   typeint/typemethodnamerand/methodname
-  void/
- /methodsynopsis
- methodsynopsis
-  typeint/typemethodnamerand/methodname
-  methodparamtypeint/typeparametermin/parameter/methodparam
-  methodparamtypeint/typeparametermax/parameter/methodparam
+  methodparam 
+choice=opttypeint/typeparametermin/parameter/methodparam
+  methodparam 
+choice=opttypeint/typeparametermax/parameter/methodparam
  /methodsynopsis
 simpara
  If called without the optional parametermin/parameter,





[PHP-DOC] cvs: phpdoc /pl/functions math.xml

2002-03-11 Thread Slawomir Pucia

slawek  Mon Mar 11 13:54:57 2002 EDT

  Modified files:  
/phpdoc/pl/functionsmath.xml 
  Log:
  Updated to EN 1.75 (qrak)
  
  
Index: phpdoc/pl/functions/math.xml
diff -u phpdoc/pl/functions/math.xml:1.14 phpdoc/pl/functions/math.xml:1.15
--- phpdoc/pl/functions/math.xml:1.14   Tue Feb 12 17:33:20 2002
+++ phpdoc/pl/functions/math.xmlMon Mar 11 13:54:56 2002
 -1,6 +1,6 
 ?xml version=1.0 encoding=iso-8859-2?
-!-- EN-Revision: 1.71 Maintainer: Qrak Status: ready --
-!-- $Revision: 1.14 $ --
+!-- EN-Revision: 1.75 Maintainer: Qrak Status: ready --
+!-- $Revision: 1.15 $ --
  reference id=ref.math
   titleMatematyka/title
   titleabbrevMatematyka/titleabbrev
 -13,7 +13,7 
  typeinteger/type i typefloat/type na twoim komputerze (co odpowiada
  zakresowi long resp. double jêzyka C).
  Je¶li potrzebujesz obs³ugi wiêkszych liczb, zajrzyj do link
- linkend=ref.bcfunkcji matematycznych dla liczb dowolnej dok³adno¶ci
+ linkend=ref.bcfunkcji matematycznych dla liczb o du¿ej precyzji
  /link
 /para
 sect2 id=math.constants
 -182,7 +182,7 
   refentry id=function.acosh
refnamediv
 refnameacosh/refname
-refpurposeOdwrotny cosinus hiperboliczny/refpurpose
+refpurposeArea cosinus hiperboliczny/refpurpose
/refnamediv
refsect1
 titleOpis/title
 -191,14 +191,14 
   methodparamtypefloat/typeparameterarg/parameter/methodparam
  /methodsynopsis
 para
- Zwraca odwrotny cosinus hiperboliczny z liczby parameterarg/parameter,
+ Zwraca area cosinus hiperboliczny z liczby parameterarg/parameter,
  tzn. tak± warto¶æ, której cosinus hiperboliczny jest równy 
  parameterarg/parameter.
 /para
 note.no-windows;
 para
  Zobacz te¿ functionacos/function, functionasin/function
- and functionatan/function.
+ i functionatan/function.
 /para
/refsect1
   /refentry
 -227,7 +227,7 
   refentry id=function.asinh
refnamediv
 refnameasinh/refname
-refpurposeOdwrotny sinus hiperboliczny/refpurpose
+refpurposeArea sinus hiperboliczny/refpurpose
/refnamediv
refsect1
 titleOpis/title
 -236,14 +236,14 
   methodparamtypefloat/typeparameterarg/parameter/methodparam
  /methodsynopsis
 para
- Zwraca odwrotny sinus hiperboliczny z liczby parameterarg/parameter,
+ Zwraca area sinus hiperboliczny z liczby parameterarg/parameter,
  tzn. tak± warto¶æ, której sinus hiperboliczny jest równy
  parameterarg/parameter.
 /para
 note.no-windows;
 para
  Zobacz te¿ functionasin/function, functionacos/function
- and functionatan/function.
+i functionatan/function.
 /para
/refsect1
   /refentry
 -272,7 +272,7 
   refentry id=function.atanh
refnamediv
 refnameatanh/refname
-refpurposeOdwrotny tangens hiperboliczny/refpurpose
+refpurposeArea tangens hiperboliczny/refpurpose
/refnamediv
refsect1
 titleOpis/title
 -281,14 +281,14 
   methodparamtypefloat/typeparameterarg/parameter/methodparam
  /methodsynopsis
 para
- Zwraca odwrotny tangens hiperboliczny z liczby parameterarg/parameter,
+ Zwraca area tangens hiperboliczny z liczby parameterarg/parameter,
  tzn. tak± warto¶æ, dla której tangens hiperboliczny jest równy
  parameterarg/parameter.
 /para
 note.no-windows;
 para
  Zobacz te¿ functionatan/function, functionasin/function
- and functionacos/function.
+ i functionacos/function.
 /para
/refsect1
   /refentry
 -454,7 +454,7 
 /para
 para
  Zobacz te¿ functioncos/function, functionacosh/function,
- functionsin/function and functiontan/function.
+ functionsin/function i functiontan/function.
 /para
/refsect1
   /refentry
 -707,6 +707,67 
 warn.experimental.func;
 para
  warn.undocumented.func;
+/para 
+ /refsect1 
+/refentry 
+
+refentry id='function.is-finite' 
+ refnamediv 
+  refnameis_finite/refname 
+  refpurpose 
+  /refpurpose 
+ /refnamediv 
+ refsect1 
+  titleOpis/title 
+   methodsynopsis 
+typebool/typemethodnameis_finite/methodname 
+methodparamtypefloat/type/methodparam 
+   /methodsynopsis 
+  para
+   Zwraca  true;, je¶li argument parameterwarto¶æ/parameter jest
+   skoñczon± liczb±, zawieraj±c± siê w zakresie liczb zmiennoprzecinkowych
+   (float) dla tej platformy. 
+  /para 
+ /refsect1 
+/refentry 
+
+refentry id='function.is-infinite' 
+ refnamediv 
+  refnameis_infinite/refname 
+  refpurpose 
+  /refpurpose 
+ /refnamediv 
+ refsect1 
+  titleOpis/title 
+   methodsynopsis 
+typebool/typemethodnameis_infinite/methodname 
+methodparamtypefloat/typeparameterwarto¶æ/parameter/methodparam 
+   /methodsynopsis 
+  para
+   Zwraca true;, je¶li argument parameterwarto¶æ/parameter jest
+   nieskoñczono¶ci± 

[PHP-DOC] cvs: phpdoc /en/functions math.xml

2002-03-04 Thread Simone Cortesi

cortesi Mon Mar  4 05:32:37 2002 EDT

  Modified files:  
/phpdoc/en/functionsmathxml 
  Log:
  typo fix
  
  
Index: phpdoc/en/functions/mathxml
diff -u phpdoc/en/functions/mathxml:173 phpdoc/en/functions/mathxml:174
--- phpdoc/en/functions/mathxml:173   Sat Mar  2 12:23:04 2002
+++ phpdoc/en/functions/mathxmlMon Mar  4 05:32:36 2002
 -1,5 +1,5 
 ?xml version=10 encoding=iso-8859-1?
-!-- $Revision: 173 $ --
+!-- $Revision: 174 $ --
  reference id=refmath
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
 -722,7 +722,7 
   methodparamtypefloat/typeparameterval/parameter/methodparam
  /methodsynopsis
 para
- Returns true; if parameterval/parameter is a leagal finite 
+ Returns true; if parameterval/parameter is a legal finite 
  number within the allowed range for a PHP float on this platform
 /para
/refsect1





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2002-03-04 Thread Simone Cortesi

cortesi Mon Mar  4 05:38:50 2002 EDT

  Modified files:  
/phpdoc/en/functionsmathxml 
  Log:
  another typo
  
Index: phpdoc/en/functions/mathxml
diff -u phpdoc/en/functions/mathxml:174 phpdoc/en/functions/mathxml:175
--- phpdoc/en/functions/mathxml:174   Mon Mar  4 05:32:36 2002
+++ phpdoc/en/functions/mathxmlMon Mar  4 05:38:50 2002
 -1,5 +1,5 
 ?xml version=10 encoding=iso-8859-1?
-!-- $Revision: 174 $ --
+!-- $Revision: 175 $ --
  reference id=refmath
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
 -742,7 +742,7 
  /methodsynopsis
 para
  Returns true; if parameterval/parameter is infinite (positive or 
- negative), like the result of literallog(0)/literal or any value to 
+ negative), like the result of literallog(0)/literal or any value too 
  big to fit into a float on this platform
 /para
/refsect1





[PHP-DOC] cvs: phpdoc /it/functions math.xml

2002-03-04 Thread Simone Cortesi

cortesi Mon Mar  4 05:48:10 2002 EDT

  Modified files:  
/phpdoc/it/functionsmathxml 
  Log:
  update to EN 175 (current)
  
Index: phpdoc/it/functions/mathxml
diff -u phpdoc/it/functions/mathxml:125 phpdoc/it/functions/mathxml:126
--- phpdoc/it/functions/mathxml:125   Wed Feb  6 15:51:40 2002
+++ phpdoc/it/functions/mathxmlMon Mar  4 05:48:09 2002
 -1,5 +1,5 
 ?xml version=10 encoding=iso-8859-1?
-!-- EN-Revision: 171 Maintainer: cortesi Status: ready --
+!-- EN-Revision: 175 Maintainer: cortesi Status: ready --
  reference id=refmath
   titleFunzioni Matematiche/title
   titleabbrevMat/titleabbrev
 -708,6 +708,64 
 /para 
/refsect1 
   /refentry 
+
+  refentry id='functionis-finite'
+   refnamediv
+refnameis_finite/refname
+refpurpose
+/refpurpose
+   /refnamediv
+   refsect1
+titleDescrizione/title
+ methodsynopsis
+  typebool/typemethodnameis_finite/methodname
+  methodparamtypefloat/typeparameterval/parameter/methodparam
+ /methodsynopsis
+para
+ Restituisce true; se parameterval/parameter è un numero finito valido
+ all'interno del range dei float, come definito da PHP su questa piattaforma
+/para
+   /refsect1
+  /refentry
+
+  refentry id='functionis-infinite'
+   refnamediv
+refnameis_infinite/refname
+refpurpose
+/refpurpose
+   /refnamediv
+   refsect1
+titleDescrizione/title
+ methodsynopsis
+  typebool/typemethodnameis_infinite/methodname
+  methodparamtypefloat/typeparameterval/parameter/methodparam
+ /methodsynopsis
+para
+ Restituisce true; se parameterval/parameter è infinito (positivo o
+ negativo), come il risultato di literallog(0)/literal o ogni altro valore 
+troppo grande
+ per essere contenuto nel range dei float di una determinata piattaforma
+/para
+   /refsect1
+  /refentry
+
+  refentry id='functionis-nan'
+   refnamediv
+refnameis_nan/refname
+refpurpose
+/refpurpose
+   /refnamediv
+   refsect1
+titleDescrizione/title
+ methodsynopsis
+  typebool/typemethodnameis_nan/methodname
+  methodparamtypefloat/typeparameterval/parameter/methodparam
+ /methodsynopsis
+para
+ Restituisce true; se parameterval/parameter 'non è un numero', 
+ come il risultato di literalacos(101)/literal
+/para
+   /refsect1
+  /refentry
 
   refentry id=functionlcg-value
refnamediv





[PHP-DOC] cvs: phpdoc /pl/functions math.xml

2002-02-12 Thread Slawomir Pucia

slawek  Tue Feb 12 17:33:21 2002 EDT

  Modified files:  
/phpdoc/pl/functionsmath.xml 
  Log:
  Repaired title
  
  
Index: phpdoc/pl/functions/math.xml
diff -u phpdoc/pl/functions/math.xml:1.13 phpdoc/pl/functions/math.xml:1.14
--- phpdoc/pl/functions/math.xml:1.13   Wed Feb  6 16:21:34 2002
+++ phpdoc/pl/functions/math.xmlTue Feb 12 17:33:20 2002
@@ -1,8 +1,8 @@
 ?xml version=1.0 encoding=iso-8859-2?
 !-- EN-Revision: 1.71 Maintainer: Qrak Status: ready --
-!-- $Revision: 1.13 $ --
+!-- $Revision: 1.14 $ --
  reference id=ref.math
-  titleMatematyczne/title
+  titleMatematyka/title
   titleabbrevMatematyka/titleabbrev
   
   partintro





[PHP-DOC] cvs: phpdoc /it/functions math.xml

2002-02-06 Thread Simone Cortesi

cortesi Wed Feb  6 15:51:41 2002 EDT

  Modified files:  
/phpdoc/it/functionsmath.xml 
  Log:
  EN-revision update only
  
  
Index: phpdoc/it/functions/math.xml
diff -u phpdoc/it/functions/math.xml:1.24 phpdoc/it/functions/math.xml:1.25
--- phpdoc/it/functions/math.xml:1.24   Sat Feb  2 10:41:55 2002
+++ phpdoc/it/functions/math.xmlWed Feb  6 15:51:40 2002
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- EN-Revision: 1.69 Maintainer: cortesi Status: ready --
+!-- EN-Revision: 1.71 Maintainer: cortesi Status: ready --
  reference id=ref.math
   titleFunzioni Matematiche/title
   titleabbrevMat/titleabbrev





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2002-01-29 Thread Slawomir Pucia

slawek  Tue Jan 29 17:07:50 2002 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  little cleanup
  
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.69 phpdoc/en/functions/math.xml:1.70
--- phpdoc/en/functions/math.xml:1.69   Tue Jan 15 15:30:04 2002
+++ phpdoc/en/functions/math.xmlTue Jan 29 17:07:49 2002
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.69 $ --
+!-- $Revision: 1.70 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -1152,9 +1152,8 @@
 /funcsynopsis
 para
  Returns the decimal equivalent of the octal number
- represented by the octal_string argument.
- OctDec converts an octal string to a decimal number. The largest
- number that can be converted is 177 or 2147483647 in
+ represented by the parameteroctal_string/parameter argument.
+ The largest number that can be converted is 177 or 2147483647 in
  decimal.
 /para
 para
@@ -1222,7 +1221,7 @@
 /para
 example
  titleSome examples of functionpow/function/title
-programlisting role=php
+ programlisting role=php
 ![CDATA[
 ?php
 





[PHP-DOC] cvs: phpdoc /pl/functions math.xml

2002-01-29 Thread Slawomir Pucia

slawek  Tue Jan 29 17:10:29 2002 EDT

  Modified files:  
/phpdoc/pl/functionsmath.xml 
  Log:
  fixes: typos, grammar
  
  
Index: phpdoc/pl/functions/math.xml
diff -u phpdoc/pl/functions/math.xml:1.8 phpdoc/pl/functions/math.xml:1.9
--- phpdoc/pl/functions/math.xml:1.8Tue Jan 22 02:39:48 2002
+++ phpdoc/pl/functions/math.xmlTue Jan 29 17:10:29 2002
@@ -1,6 +1,6 @@
 ?xml version=1.0 encoding=iso-8859-2?
 !-- EN-Revision: 1.69 Maintainer: Qrak Status: ready --
-!-- $Revision: 1.8 $ --
+!-- $Revision: 1.9 $ --
  reference id=ref.math
   titleFunkcje Matematyczne/title
   titleabbrevMatematyka/titleabbrev
@@ -120,7 +120,7 @@
 /tbody
/tgroup
   /table
- Tylko sta³a M_PI by³a dostêpna w wsze¶niejszych wersjach PHP do PHP 4.0.0.
+ Tylko sta³a M_PI by³a dostêpna w wcze¶niejszych wersjach PHP do PHP 4.0.0.
  w³±cznie. Pozosta³e pojawi³y siê w PHP 4.0.0. Sta³e oznaczone [4.0.2]
  zosta³y dodane w PHP 4.0.2.
  /para
@@ -142,8 +142,8 @@
  /funcprototype
 /funcsynopsis
 para
- Zwraca warto¶æ bezwzglêdn± podanej liczby. Je¶li argument is typu 
- typefloat/type, zwracana warto¶æ jest tak¿e typefloat/type,
+ Zwraca warto¶æ bezwzglêdn± podanej liczby. Je¶li argument jest typu 
+ typefloat/type, zwracana jest tak¿e warto¶æ typefloat/type,
  inaczej zwracana jest warto¶æ typeinteger/type (typefloat/type
  ma zwykle szerszy zakres ni¿ typeinteger/type).
 /para
@@ -198,7 +198,7 @@
 /funcsynopsis
 para
  Zwraca odwrotny cosinus hiperboliczny z liczby parameterarg/parameter,
- tzn. tak± warto¶æ, której cosinus hiperboliczny równy 
+ tzn. tak± warto¶æ, której cosinus hiperboliczny jest równy 
  parameterarg/parameter.
 /para
 note.no-windows;
@@ -389,12 +389,12 @@
  /funcprototype
 /funcsynopsis
 para
- Zwraca liczbê dziesiêtn± odpowiadaj±c± liczbie dwójkowej podane w
+ Zwraca liczbê dziesiêtn± odpowiadaj±c± liczbie dwójkowej podanej w
  argumencie parameterliczba_dwójkowa/parameter.
 /para
 para
  functionbindec/function konwertuje liczby dwójkowe do liczb 
- ca³kowitych. Najwiêksz± konwertowan± liczb± jest 31 bitów 1 czyli
+ ca³kowitych. Najwiêksz± konwertowan± liczb± jest 31 bitów jedynek, czyli
  2 147 483 647 dziesiêtnie.
 /para
 para
@@ -501,7 +501,7 @@
 para
  Zwraca ³añcuch znaków stanowi±cy dwójkow± reprezentacjê liczby dziesiêtnej
  podanej jako argument. Najwiêksz± liczb± mo¿liw± do skonwertowania jest
- 4 294 967 295 dziesiêtnie, co równe jest 32 bitom 1.
+ 4 294 967 295 dziesiêtnie, co równe jest 32 bitom jedynek.
 /para
 para
  Zobacz te¿ functionbindec/function.
@@ -548,7 +548,7 @@
 /funcsynopsis
 para
  Zwraca ³añcuch znaków zawieraj±cy ósemkow± reprezentacjê podanej liczby
- dziesiêtnej. Najwiêksz liczb±, która mo¿e byæ skonwertowana jest
+ dziesiêtnej. Najwiêksz± liczb±, która mo¿e byæ skonwertowana jest
  2 147 483 647 dziesiêtnie, co odpowiada 177 ósemkowo.
 /para
 para
@@ -703,7 +703,7 @@
 /funcsynopsis
 para
  Zwraca dziesiêtny odpowiednik liczby szesnastkowej podanej w argumencie
- parameterhex_string/parameter. functionhexdec/functionkownertuje
+ parameterhex_string/parameter. functionhexdec/function konwertuje
  szesnastkowy ³añcuch znaków do postaci liczby dziesiêtnej. Najwiêksz±
  liczb±, która mo¿e byæ skonwertowana jest 7fff, czyli  2147483647
  dziesiêtnie.
@@ -870,8 +870,8 @@
  Je¶li jedna lub wiêcej podanych liczb jest zmiennoprzecinkowa, wszystkie
  liczby zostan± potraktowane jak zmiennoprzecinkowe i tak¿e liczba
  zmiennoprzecinkowa zostanie zwrócona. Je¶li ¿adna z liczb nie bêdzie
- zmiennoprzecinkow±, wszystkie zostan± potraktowane jako ca³kowite i liczba
- ca³kowita zostanie zwrócona.
+ zmiennoprzecinkow±, wszystkie zostan± potraktowane jako ca³kowite i
+ zwrócona zostanie liczba ca³kowita.
 /para
/refsect1
   /refentry
@@ -913,8 +913,8 @@
  warto¶ci zostan± potraktowane jako zmiennoprzecinkowe i taka te¿ liczba
  zostanie zwrócona.
  Je¶li ¿adna spo¶ród warto¶ci nie jest typu typefloat/type, wszystkie
- zostan± potraktowane jako typeinteger/type i warto¶æ ca³kowita
- zostanie zwrócona.
+ zostan± potraktowane jako typeinteger/type i zwrócona zostanie
+ warto¶æ ca³kowita.
 /para
/refsect1
   /refentry
@@ -942,7 +942,7 @@
  /funcprototype
 /funcsynopsis
 simpara
- Wiele generatorów liczb losowych w starych libc maj± niepewne albo nieznane
+ Wiele generatorów liczb losowych w starych libc ma niepewne albo nieznane
  charakterystyki i s± powolne. Domy¶lnie PHP u¿ywa generatora liczb losowych
  z libc w funkcji functionrand/function. Funkcja
  functionmt_rand/function jest jej zamiennikiem. U¿ywa ona generatora
@@ -1085,7 +1085,7 @@
 /para
 para
  Kiedy wszystkie cztery 

[PHP-DOC] cvs: phpdoc /pl/functions math.xml

2002-01-29 Thread Slawomir Pucia

slawek  Tue Jan 29 17:32:59 2002 EDT

  Modified files:  
/phpdoc/pl/functionsmath.xml 
  Log:
  Updated to EN 1.70 (no diff)
  
  
Index: phpdoc/pl/functions/math.xml
diff -u phpdoc/pl/functions/math.xml:1.9 phpdoc/pl/functions/math.xml:1.10
--- phpdoc/pl/functions/math.xml:1.9Tue Jan 29 17:10:29 2002
+++ phpdoc/pl/functions/math.xmlTue Jan 29 17:32:59 2002
@@ -1,6 +1,6 @@
 ?xml version=1.0 encoding=iso-8859-2?
-!-- EN-Revision: 1.69 Maintainer: Qrak Status: ready --
-!-- $Revision: 1.9 $ --
+!-- EN-Revision: 1.70 Maintainer: Qrak Status: ready --
+!-- $Revision: 1.10 $ --
  reference id=ref.math
   titleFunkcje Matematyczne/title
   titleabbrevMatematyka/titleabbrev





[PHP-DOC] cvs: phpdoc /pl/functions math.xml

2002-01-21 Thread Slawomir Pucia

slawek  Mon Jan 21 16:20:20 2002 EDT

  Modified files:  
/phpdoc/pl/functionsmath.xml 
  Log:
  Updated to EN 1.69
  
  
Index: phpdoc/pl/functions/math.xml
diff -u phpdoc/pl/functions/math.xml:1.6 phpdoc/pl/functions/math.xml:1.7
--- phpdoc/pl/functions/math.xml:1.6Sat Jan  5 10:31:25 2002
+++ phpdoc/pl/functions/math.xmlMon Jan 21 16:20:20 2002
@@ -1,9 +1,9 @@
 ?xml version=1.0 encoding=iso-8859-2?
-!-- EN-Revision: 1.64 Maintainer: Qrak Status: ready --
-!-- $Revision: 1.6 $ --
+!-- EN-Revision: 1.69 Maintainer: Qrak Status: ready --
+!-- $Revision: 1.7 $ --
  reference id=ref.math
   titleFunkcje Matematyczne/title
-  titleabbrevMath/titleabbrev
+  titleabbrevMatematyka/titleabbrev
   
   partintro
sect1 id=math.intro
@@ -120,9 +120,9 @@
 /tbody
/tgroup
   /table
- Tylko sta³a M_PI by³a dostêpna w wsze¶niejszych wersjach PHP do PHP4RC1
- w³±cznie. Pozosta³e pojawi³y siê w PHP 4.0. Sta³e oznaczone [4.0.2] zosta³y
- dodane w PHP 4.0.2.
+ Tylko sta³a M_PI by³a dostêpna w wsze¶niejszych wersjach PHP do PHP 4.0.0.
+ w³±cznie. Pozosta³e pojawi³y siê w PHP 4.0.0. Sta³e oznaczone [4.0.2]
+ zosta³y dodane w PHP 4.0.2.
  /para
 /sect2
/sect1
@@ -147,6 +147,16 @@
  inaczej zwracana jest warto¶æ typeinteger/type (typefloat/type
  ma zwykle szerszy zakres ni¿ typeinteger/type).
 /para
+example 
+   titleprzyk³ad functionabs/function/title 
+   programlisting role=php 
+  ![CDATA[ 
+  $abs = abs(-4.2); // $abs = 4.2; (double/float) 
+  $abs2 = abs(5);   // $abs2 = 5; (integer) 
+  $abs3 = abs(-5);  // $abs3 = 5; (integer) 
+  ]] 
+   /programlisting 
+  /example 
/refsect1
   /refentry
 
@@ -413,6 +423,15 @@
  typefloat/type gdy¿ zakres tego typu jest zwykle wiêkszy ni¿ zakres
  typu typeint/type.
 /simpara
+example 
+   titleprzyk³ady functionceil/function/title 
+   programlisting role=php 
+  ![CDATA[ 
+  $piêæ = ceil(4.3);   // $piêæ = 5.0; 
+  $dziesiêæ = ceil(9.999); // $dziesiêæ = 10.0; 
+  ]] 
+   /programlisting 
+  /example 
 simpara
  Zobacz te¿ functionfloor/function i
  functionround/function.
@@ -482,7 +501,7 @@
 para
  Zwraca ³añcuch znaków stanowi±cy dwójkow± reprezentacjê liczby dziesiêtnej
  podanej jako argument. Najwiêksz± liczb± mo¿liw± do skonwertowania jest
- 2 147 483 647 dziesiêtnie, co równe jest 31 bitom 1.
+ 4 294 967 295 dziesiêtnie, co równe jest 32 bitom 1.
 /para
 para
  Zobacz te¿ functionbindec/function.
@@ -1161,14 +1180,19 @@
  /funcprototype
 /funcsynopsis
 simpara
- Zwraca przybli¿on± warto¶æ liczby pi.
+ Zwraca przybli¿on± warto¶æ liczby pi. Zwracana warto¶æ typu
+ typefloat/type ma precyzjê okre¶lon± w dyrektywie 
+ link linkend=ini.precisionprecision/link w pliku 
+ filenamephp.ini/filename, domy¶lnie równ± literal14/literal.
+ Mo¿na tak¿e u¿yæ sta³ej constantM_PI/constant, która daje taki sam
+ wynik jak funkcja functionpi/function.
 /simpara
para
 informalexample
  programlisting
 ![CDATA[
-echo pi();
-// wy¶wietli 3.1415926535898
+echo pi(); // 3.1415926535898
+echo M_PI; // 3.1415926535898 
 ]]
  /programlisting
 /informalexample
@@ -1222,7 +1246,7 @@
  /para
 /warning
 para 
- Zobacz te¿ functionexp/function.
+ Zobacz te¿ functionexp/function i functionsqrt/function.
 /para
/refsect1
   /refentry





[PHP-DOC] cvs: phpdoc /pl/functions math.xml

2002-01-21 Thread Slawomir Pucia

slawek  Tue Jan 22 02:39:48 2002 EDT

  Modified files:  
/phpdoc/pl/functionsmath.xml 
  Log:
  Link to ini.precision commented out. Makeable now.
  
  
Index: phpdoc/pl/functions/math.xml
diff -u phpdoc/pl/functions/math.xml:1.7 phpdoc/pl/functions/math.xml:1.8
--- phpdoc/pl/functions/math.xml:1.7Mon Jan 21 16:20:20 2002
+++ phpdoc/pl/functions/math.xmlTue Jan 22 02:39:48 2002
@@ -1,6 +1,6 @@
 ?xml version=1.0 encoding=iso-8859-2?
 !-- EN-Revision: 1.69 Maintainer: Qrak Status: ready --
-!-- $Revision: 1.7 $ --
+!-- $Revision: 1.8 $ --
  reference id=ref.math
   titleFunkcje Matematyczne/title
   titleabbrevMatematyka/titleabbrev
@@ -1182,7 +1182,7 @@
 simpara
  Zwraca przybli¿on± warto¶æ liczby pi. Zwracana warto¶æ typu
  typefloat/type ma precyzjê okre¶lon± w dyrektywie 
- link linkend=ini.precisionprecision/link w pliku 
+ !-- link linkend=ini.precisionprecision/link --precision w pliku 
  filenamephp.ini/filename, domy¶lnie równ± literal14/literal.
  Mo¿na tak¿e u¿yæ sta³ej constantM_PI/constant, która daje taki sam
  wynik jak funkcja functionpi/function.





[PHP-DOC] cvs: phpdoc /it/functions math.xml

2002-01-15 Thread Simone Cortesi

cortesi Tue Jan 15 10:15:54 2002 EDT

  Modified files:  
/phpdoc/it/functionsmath.xml 
  Log:
  update to EN 1.68
  
  
Index: phpdoc/it/functions/math.xml
diff -u phpdoc/it/functions/math.xml:1.21 phpdoc/it/functions/math.xml:1.22
--- phpdoc/it/functions/math.xml:1.21   Thu Jan 10 11:16:56 2002
+++ phpdoc/it/functions/math.xmlTue Jan 15 10:15:52 2002
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- EN-Revision: 1.67 Maintainer: cortesi Status: ready --
+!-- EN-Revision: 1.68 Maintainer: cortesi Status: ready --
  reference id=ref.math
   titleFunzioni Matematiche/title
   titleabbrevMat/titleabbrev
@@ -118,8 +118,8 @@
 /tbody
/tgroup
   /table
- Soltanto M_PI egrave; disponibile nelle versioni precedenti alla PHP4RC1 
(compresa).
- Tutte le rimanenti costanti sono disponibili a partire dal PHP 4.0. Le costanti
+ Soltanto M_PI è disponibile nelle versioni precedenti alla PHP 4.0.0 (compresa).
+ Tutte le rimanenti costanti sono disponibili a partire dal PHP 4.0.0. Le costanti
  indicate con [4.0.2] sono state aggiunte  nel PHP 4.0.2.
  /para
 /sect2
@@ -1177,14 +1177,19 @@
  /funcprototype
 /funcsynopsis
 simpara
- Restituisce una appossimazione di pi.
+ Restituisce una appossimazione di pi. Il valore restituito è un 
+typefloat/type 
+ e ha precisione secondo la 
+ direttiva link linkend=ini.precisionprecision/link del file
+ filenamephp.ini/filename, che ha come valore predefinito 
+literal14/literal.  
+ Inoltre, si può usare la costante constantM_PI/constant che permette di 
+ottenere 
+ risultati identici all'uso di functionpi/function.
 /simpara
para
 informalexample
  programlisting
 ![CDATA[
-echo pi();
-// stamperagrave; 3.1415926535898
+echo pi(); // 3.1415926535898
+echo M_PI; // 3.1415926535898
 ]]
  /programlisting
 /informalexample





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2002-01-15 Thread Wolfgang Drews

drews   Tue Jan 15 15:30:04 2002 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  changed the highest value for decbin() to the correct one. more to come :(
  
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.68 phpdoc/en/functions/math.xml:1.69
--- phpdoc/en/functions/math.xml:1.68   Mon Jan 14 04:45:55 2002
+++ phpdoc/en/functions/math.xmlTue Jan 15 15:30:04 2002
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.68 $ --
+!-- $Revision: 1.69 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -501,7 +501,7 @@
 para
  Returns a string containing a binary representation of the given
  number argument.  The largest number that can be converted is
- 2147483647 in decimal resulting to a string of 31 1's.
+ 4294967295 in decimal resulting to a string of 32 1's.
 /para
 para
  See also the functionbindec/function function.





[PHP-DOC] cvs: phpdoc /de/functions math.xml

2002-01-15 Thread Wolfgang Drews

drews   Tue Jan 15 15:31:24 2002 EDT

  Modified files:  
/phpdoc/de/functionsmath.xml 
  Log:
  changed the highest input value for decbin() to the correct one.
  
  
Index: phpdoc/de/functions/math.xml
diff -u phpdoc/de/functions/math.xml:1.19 phpdoc/de/functions/math.xml:1.20
--- phpdoc/de/functions/math.xml:1.19   Sun Jan  6 16:34:43 2002
+++ phpdoc/de/functions/math.xmlTue Jan 15 15:31:23 2002
@@ -350,8 +350,8 @@
  Diese Funktion liefert eine binäre Representation von
  parameternumber/parameter als String zurück.  Der größte
  konvertierbare Wert für parameternumber/parameter ist dezimal
- 2147483647, dies entspricht (2 hoch 32)-1 und liefet einen String
- aus 31 Einsen.
+ 4294967295, dies entspricht (2 hoch 32)-1 und liefert einen String
+ aus 32 Einsen.
 /para
 para
  Siehe auch functionbindec/function sowie





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2002-01-14 Thread Philip Olson

philip  Mon Jan 14 04:45:56 2002 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  pi: Document precicion directive's affect, as well as the M_PI constant.
  And, some other minor changes.
  
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.67 phpdoc/en/functions/math.xml:1.68
--- phpdoc/en/functions/math.xml:1.67   Thu Jan 10 08:42:36 2002
+++ phpdoc/en/functions/math.xmlMon Jan 14 04:45:55 2002
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.67 $ --
+!-- $Revision: 1.68 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -118,9 +118,9 @@
 /tbody
/tgroup
   /table
- Only M_PI is available in PHP versions up to and including PHP4RC1.
- All other constants are available starting with PHP 4.0. Constants
- labelled [4.0.2] were added in PHP 4.0.2.
+ Only M_PI is available in PHP versions up to and including PHP 4.0.0.
+ All other constants are available starting with PHP 4.0.0.  Constants
+ labeled [4.0.2] were added in PHP 4.0.2.
  /para
 /sect2
/sect1
@@ -1177,14 +1177,19 @@
  /funcprototype
 /funcsynopsis
 simpara
- Returns an approximation of pi.
+ Returns an approximation of pi.  The returned typefloat/type 
+ has a precision based on the 
+ link linkend=ini.precisionprecision/link directive in
+ filenamephp.ini/filename, which defaults to literal14/literal.  
+ Also, you can use the constantM_PI/constant constant which yields 
+ identical results to functionpi/function.
 /simpara
para
 informalexample
  programlisting
 ![CDATA[
-echo pi();
-// will echo 3.1415926535898
+echo pi(); // 3.1415926535898
+echo M_PI; // 3.1415926535898
 ]]
  /programlisting
 /informalexample





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2002-01-10 Thread Jan Lehnardt

jan Thu Jan 10 08:42:36 2002 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  added see also sqrt for pow
  
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.66 phpdoc/en/functions/math.xml:1.67
--- phpdoc/en/functions/math.xml:1.66   Wed Jan  9 18:59:53 2002
+++ phpdoc/en/functions/math.xmlThu Jan 10 08:42:36 2002
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.66 $ --
+!-- $Revision: 1.67 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -1238,7 +1238,7 @@
  /para
 /warning
 para 
- See also functionexp/function.
+ See also functionexp/function and functionsqrt/function.
 /para
/refsect1
   /refentry





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2002-01-09 Thread Kenneth Schwartz

irc-htmlWed Jan  9 18:43:27 2002 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  added example for ceil()
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.64 phpdoc/en/functions/math.xml:1.65
--- phpdoc/en/functions/math.xml:1.64   Tue Jan  1 19:44:14 2002
+++ phpdoc/en/functions/math.xmlWed Jan  9 18:43:26 2002
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.64 $ --
+!-- $Revision: 1.65 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -413,6 +413,15 @@
  typefloat/type as the value range of typefloat/type is 
  usually bigger than that of typeint/type.
 /simpara
+example
+ titlefunctionceil/function examples/title
+ programlisting role=php
+![CDATA[
+$five = ceil(4.3);   // $five = 5.0;
+$ten = ceil(9.999); // $ten = 10.0;
+]]
+ /programlisting
+/example
 simpara
  See also functionfloor/function and
  functionround/function.





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2002-01-09 Thread Kenneth Schwartz

irc-htmlWed Jan  9 18:59:53 2002 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  added example to abs(), corrected spelling errors
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.65 phpdoc/en/functions/math.xml:1.66
--- phpdoc/en/functions/math.xml:1.65   Wed Jan  9 18:43:26 2002
+++ phpdoc/en/functions/math.xmlWed Jan  9 18:59:53 2002
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.65 $ --
+!-- $Revision: 1.66 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -145,6 +145,16 @@
  otherwise it is typeinteger/type (as typefloat/type usually has a
  bigger value range than typeinteger/type).
 /para
+example
+ titlefunctionabs/function example/title
+ programlisting role=php
+![CDATA[
+$abs = abs(-4.2); // $abs = 4.2; (double/float)
+$abs2 = abs(5);   // $abs2 = 5; (integer)
+$abs3 = abs(-5);  // $abs3 = 5; (integer)
+]]
+ /programlisting
+/example
/refsect1
   /refentry
 
@@ -632,7 +642,7 @@
 /funcsynopsis
 simpara
  Returns the next lowest integer value by rounding down
- parametervalue/parameter if neccessary. 
+ parametervalue/parameter if necessary. 
  The return value of functionfloor/function is still of type
  typefloat/type because the value range of typefloat/type is 
  usually bigger than that of typeint/type.





[PHP-DOC] cvs: phpdoc /de/functions math.xml

2002-01-06 Thread Georg Richter

georg   Sun Jan  6 16:34:43 2002 EDT

  Modified files:  
/phpdoc/de/functionsmath.xml 
  Log:
  
  translated introduction :-)
  
  
Index: phpdoc/de/functions/math.xml
diff -u phpdoc/de/functions/math.xml:1.18 phpdoc/de/functions/math.xml:1.19
--- phpdoc/de/functions/math.xml:1.18   Wed Dec 12 15:46:13 2001
+++ phpdoc/de/functions/math.xmlSun Jan  6 16:34:43 2002
@@ -5,7 +5,7 @@
  
   partintro
sect1 id=math.intro
-titleIntroduction/title
+titleEinleitung/title
 para
  Die mathematischen Funktionen behandeln nur Werte im Bereich der
  Datentypen long und double der jeweiligen Architektur.  Wenn Sie





[PHP-DOC] cvs: phpdoc /hu/functions math.xml

2002-01-05 Thread Gyozo Papp

pgerzsonSat Jan  5 09:02:31 2002 EDT

  Modified files:  
/phpdoc/hu/functionsmath.xml 
  Log:
  sync with EN revision
  
Index: phpdoc/hu/functions/math.xml
diff -u phpdoc/hu/functions/math.xml:1.10 phpdoc/hu/functions/math.xml:1.11
--- phpdoc/hu/functions/math.xml:1.10   Fri Dec 21 11:54:40 2001
+++ phpdoc/hu/functions/math.xmlSat Jan  5 09:02:31 2002
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-2 ?
-!-- EN-Revision: 1.63 Maintainer: pgerzson Status: ready --
+!-- EN-Revision: 1.64 Maintainer: pgerzson Status: ready --
 
  reference id=ref.math
   titleMatematikai függvények/title
@@ -1359,6 +1359,9 @@
 para
  Az parameterarg/parameter négyzetgyökét adja vissza.
 /para
+para 
+ Lásd még: functionpow/function!
+/para 
/refsect1
   /refentry
 





[PHP-DOC] cvs: phpdoc /pl/functions math.xml

2002-01-05 Thread Slawomir Pucia

slawek  Sat Jan  5 10:31:25 2002 EDT

  Modified files:  
/phpdoc/pl/functionsmath.xml 
  Log:
  Updated to EN 1.64
  
  
Index: phpdoc/pl/functions/math.xml
diff -u phpdoc/pl/functions/math.xml:1.5 phpdoc/pl/functions/math.xml:1.6
--- phpdoc/pl/functions/math.xml:1.5Thu Dec 20 07:47:02 2001
+++ phpdoc/pl/functions/math.xmlSat Jan  5 10:31:25 2002
@@ -1,6 +1,6 @@
 ?xml version=1.0 encoding=iso-8859-2?
-!-- EN-Revision: 1.59 Maintainer: Qrak Status: ready --
-!-- $Revision: 1.5 $ --
+!-- EN-Revision: 1.64 Maintainer: Qrak Status: ready --
+!-- $Revision: 1.6 $ --
  reference id=ref.math
   titleFunkcje Matematyczne/title
   titleabbrevMath/titleabbrev
@@ -584,7 +584,30 @@
 /para
/refsect1
   /refentry
-
+  
+  refentry id='function.expm1'
+   refnamediv
+refnameexpm1/refname
+refpurpose
+ Zwraca exp(liczba) - 1, obliczon± w taki sposób, ¿e warto¶æ jest dok³adna,
+ nawet je¶li liczba jest bliska zeru
+/refpurpose
+   /refnamediv
+   refsect1
+titleOpis/title
+funcsynopsis
+ funcprototype
+  funcdeffloat functionexpm1/function/funcdef
+  paramdeffloat parameterliczba/parameter/paramdef
+ /funcprototype
+/funcsynopsis
+ warn.experimental.func;
+para
+ warn.undocumented.func;
+/para
+   /refsect1
+  /refentry
+  
   refentry id=function.floor
refnamediv
 refnamefloor/refname
@@ -602,9 +625,18 @@
  Zwraca najbli¿sz± liczbê ca³kowit±, mniejsz± lub równ± podanemu arumentowi
  parameterliczba/parameter.
  Zwracana przez funkcjê functionfloor/function warto¶æ jest nadal typu
- typefloat/type gdy¿ zakres tego typu jest zwykle wiêkszy ni¿ zakres
+ typefloat/type poniewa¿ zakres tego typu jest zwykle wiêkszy ni¿ zakres
  typu typeint/type.
 /simpara
+example
+ titleprzyk³ad zastosowania functionfloor/function/title
+ programlisting role=php
+![CDATA[
+$cztery = floor(4.3);   // $cztery = 4.0;
+$dziewiêæ = floor(9.999); // $dziewiêæ = 9.0;
+]]
+ /programlisting
+/example
 simpara
  Zobacz te¿ functionceil/function i
  functionround/function.
@@ -682,6 +714,29 @@
 /para
/refsect1
   /refentry
+  
+  refentry id='function.hypot'
+   refnamediv
+refnamehypot/refname
+refpurpose
+ Zwraca sqrt( num1*num1 + num2*num2)
+/refpurpose
+   /refnamediv
+   refsect1
+titleOpis/title
+funcsynopsis
+ funcprototype
+  funcdeffloat functionhypot/function/funcdef
+  paramdeffloat parameternum1/parameter/paramdef
+  paramdeffloat parameternum2/parameter/paramdef
+ /funcprototype
+/funcsynopsis
+warn.experimental.func;
+para
+ warn.undocumented.func;
+/para
+   /refsect1
+  /refentry
 
   refentry id=function.lcg-value
refnamediv
@@ -741,6 +796,29 @@
 /para
/refsect1
   /refentry
+  
+  refentry id='function.log1p'
+   refnamediv
+refnamelog1p/refname
+refpurpose
+Zwraca log(1 + liczba), obliczony w taki sposób, ¿e warto¶ci s± dok³adne,
+nawet, je¶li liczba jest bliska zeru
+/refpurpose
+   /refnamediv
+   refsect1
+titleOpis/title
+funcsynopsis
+ funcprototype
+  funcdeffloat functionlog1p/function/funcdef
+  paramdeffloat parameterliczba/parameter/paramdef
+ /funcprototype
+/funcsynopsis
+warn.experimental.func;
+para
+ warn.undocumented.func;
+/para
+   /refsect1
+  /refentry
 
   refentry id=function.max
refnamediv
@@ -1123,7 +1201,7 @@
 /para
 example
  titleParê przyk³adów z functionpow/function/title
- programlisting role=php
+ programlisting role=php
 ![CDATA[
 ?php
 
@@ -1445,6 +1523,7 @@
 sgml-always-quote-attributes:t
 sgml-indent-step:1
 sgml-indent-data:t
+indent-tabs-mode:nil
 sgml-parent-document:nil
 sgml-default-dtd-file:../../manual.ced
 sgml-exposed-tags:nil





[PHP-DOC] cvs: phpdoc /it/functions math.xml

2002-01-05 Thread Simone Cortesi

cortesi Sat Jan  5 10:45:22 2002 EDT

  Modified files:  
/phpdoc/it/functionsmath.xml 
  Log:
  syncing with EN
  
  
Index: phpdoc/it/functions/math.xml
diff -u phpdoc/it/functions/math.xml:1.19 phpdoc/it/functions/math.xml:1.20
--- phpdoc/it/functions/math.xml:1.19   Mon Dec 17 09:45:03 2001
+++ phpdoc/it/functions/math.xmlSat Jan  5 10:45:22 2002
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- EN-Revision: 1.63 Maintainer: cortesi Status: ready --
+!-- EN-Revision: 1.64 Maintainer: cortesi Status: ready --
  reference id=ref.math
   titleFunzioni Matematiche/title
   titleabbrevMat/titleabbrev
@@ -1422,6 +1422,9 @@
 /funcsynopsis
 para
  Restituisce la radice quadrata di parameterarg/parameter.
+/para 
+para 
+ Vedere anche functionpow/function. 
 /para
/refsect1
   /refentry





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2002-01-01 Thread jim winstead

jimwTue Jan  1 19:44:14 2002 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  sqrt: see also pow
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.63 phpdoc/en/functions/math.xml:1.64
--- phpdoc/en/functions/math.xml:1.63   Sat Dec 15 09:44:59 2001
+++ phpdoc/en/functions/math.xmlTue Jan  1 19:44:14 2002
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.63 $ --
+!-- $Revision: 1.64 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -1422,6 +1422,9 @@
 /funcsynopsis
 para
  Returns the square root of parameterarg/parameter.
+/para
+para
+ See also functionpow/function.
 /para
/refsect1
   /refentry





[PHP-DOC] cvs: phpdoc /pl/functions math.xml

2001-12-20 Thread Leszek Krupinski

leszek  Thu Dec 20 07:47:02 2001 EDT

  Modified files:  
/phpdoc/pl/functionsmath.xml 
  Log:
  Update
  
Index: phpdoc/pl/functions/math.xml
diff -u phpdoc/pl/functions/math.xml:1.4 phpdoc/pl/functions/math.xml:1.5
--- phpdoc/pl/functions/math.xml:1.4Mon Dec 17 23:10:40 2001
+++ phpdoc/pl/functions/math.xmlThu Dec 20 07:47:02 2001
@@ -1,6 +1,6 @@
 ?xml version=1.0 encoding=iso-8859-2?
 !-- EN-Revision: 1.59 Maintainer: Qrak Status: ready --
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
  reference id=ref.math
   titleFunkcje Matematyczne/title
   titleabbrevMath/titleabbrev





[PHP-DOC] cvs: phpdoc /pl/functions math.xml

2001-12-16 Thread Leszek Krupinski

leszek  Sun Dec 16 23:00:06 2001 EDT

  Modified files:  
/phpdoc/pl/functionsmath.xml 
  Log:
  Update
  
Index: phpdoc/pl/functions/math.xml
diff -u phpdoc/pl/functions/math.xml:1.2 phpdoc/pl/functions/math.xml:1.3
--- phpdoc/pl/functions/math.xml:1.2Wed Dec 12 15:56:15 2001
+++ phpdoc/pl/functions/math.xmlSun Dec 16 23:00:05 2001
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-2?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 !-- t³umacz Tomasz Wójtowicz [EMAIL PROTECTED]
 t³umaczone z wersji 1.2 angielskiego math.xml 2001-10-12
 aktualizacja do wersji en 1.8 z naszego CVSu w dniu 2001-11-29
@@ -1448,7 +1448,6 @@
 sgml-always-quote-attributes:t
 sgml-indent-step:1
 sgml-indent-data:t
-indent-tabs-mode:nil
 sgml-parent-document:nil
 sgml-default-dtd-file:../../manual.ced
 sgml-exposed-tags:nil





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2001-12-15 Thread Hartmut Holzgraefe

hholzgraSat Dec 15 09:45:00 2001 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  added skeletons for missing functions
  
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.62 phpdoc/en/functions/math.xml:1.63
--- phpdoc/en/functions/math.xml:1.62   Wed Dec 12 15:47:00 2001
+++ phpdoc/en/functions/math.xmlSat Dec 15 09:44:59 2001
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.62 $ --
+!-- $Revision: 1.63 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -585,6 +585,29 @@
/refsect1
   /refentry
 
+  refentry id='function.expm1'
+   refnamediv
+refnameexpm1/refname
+refpurpose
+ Returns exp(number) - 1, computed in a way that accurate even
+ when the value of number is close to zero
+/refpurpose
+   /refnamediv
+   refsect1
+titleDescription/title
+funcsynopsis
+ funcprototype
+  funcdeffloat functionexpm1/function/funcdef
+  paramdeffloat parameternumber/parameter/paramdef
+ /funcprototype
+/funcsynopsis
+ warn.experimental.func;
+para
+ warn.undocumented.func;
+/para
+   /refsect1
+  /refentry
+
   refentry id=function.floor
refnamediv
 refnamefloor/refname
@@ -690,6 +713,29 @@
/refsect1
   /refentry
 
+  refentry id='function.hypot'
+   refnamediv
+refnamehypot/refname
+refpurpose
+ Returns sqrt( num1*num1 + num2*num2)
+/refpurpose
+   /refnamediv
+   refsect1
+titleDescription/title
+funcsynopsis
+ funcprototype
+  funcdeffloat functionhypot/function/funcdef
+  paramdeffloat parameternum1/parameter/paramdef
+  paramdeffloat parameternum2/parameter/paramdef
+ /funcprototype
+/funcsynopsis
+warn.experimental.func;
+para
+ warn.undocumented.func;
+/para
+   /refsect1
+  /refentry
+
   refentry id=function.lcg-value
refnamediv
 refnamelcg_value/refname
@@ -750,6 +796,29 @@
/refsect1
   /refentry
 
+  refentry id='function.log1p'
+   refnamediv
+refnamelog1p/refname
+refpurpose
+ Returns log(1 + number), computed in a way that accurate even when the val
+ue of number is close to zero
+/refpurpose
+   /refnamediv
+   refsect1
+titleDescription/title
+funcsynopsis
+ funcprototype
+  funcdeffloat functionlog1p/function/funcdef
+  paramdeffloat parameternumber/parameter/paramdef
+ /funcprototype
+/funcsynopsis
+warn.experimental.func;
+para
+ warn.undocumented.func;
+/para
+   /refsect1
+  /refentry
+
   refentry id=function.max
refnamediv
 refnamemax/refname
@@ -1129,7 +1198,7 @@
 /para
 example
  titleSome examples of functionpow/function/title
- programlisting role=php
+programlisting role=php
 ![CDATA[
 ?php
 





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2001-12-08 Thread jim winstead

jimwSat Dec  8 14:32:00 2001 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  floor: add examples, say 'truncating' instead of 'rounding down'.
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.59 phpdoc/en/functions/math.xml:1.60
--- phpdoc/en/functions/math.xml:1.59   Sat Nov 17 22:07:18 2001
+++ phpdoc/en/functions/math.xmlSat Dec  8 14:32:00 2001
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.59 $ --
+!-- $Revision: 1.60 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -599,12 +599,21 @@
  /funcprototype
 /funcsynopsis
 simpara
- Returns the next lowest integer value by rounding down
+ Returns the next lowest integer value by truncating
  parametervalue/parameter if neccessary. 
  The return value of functionfloor/function is still of type
- typefloat/type as the value range of typefloat/type is 
+ typefloat/type because the value range of typefloat/type is 
  usually bigger than that of typeint/type.
 /simpara
+example
+ titlefunctionfloor/function examples/title
+ programlisting role=php
+![CDATA[
+$four = floor(4.3);   // $four = 4.0;
+$nine = floor(9.999); // $nine = 9.0;
+]]
+ /programlisting
+/example
 simpara
  See also functionceil/function and
  functionround/function.





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2001-12-08 Thread jim winstead

jimwSat Dec  8 14:33:17 2001 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  floor: duh, it does round down, not truncate. stupid negative numbers. :)
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.60 phpdoc/en/functions/math.xml:1.61
--- phpdoc/en/functions/math.xml:1.60   Sat Dec  8 14:32:00 2001
+++ phpdoc/en/functions/math.xmlSat Dec  8 14:33:17 2001
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.60 $ --
+!-- $Revision: 1.61 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -599,7 +599,7 @@
  /funcprototype
 /funcsynopsis
 simpara
- Returns the next lowest integer value by truncating
+ Returns the next lowest integer value by rounding down
  parametervalue/parameter if neccessary. 
  The return value of functionfloor/function is still of type
  typefloat/type because the value range of typefloat/type is 





[PHP-DOC] cvs: phpdoc /pl/functions math.xml

2001-11-30 Thread Leszek Krupinski

leszek  Fri Nov 30 03:06:54 2001 EDT

  Added files: 
/phpdoc/pl/functionsmath.xml 
  Log:
  Math.xml FINISHED! After more than six weeks...
  


Index: phpdoc/pl/functions/math.xml
+++ phpdoc/pl/functions/math.xml
?xml version=1.0 encoding=iso-8859-2?
!-- $Revision: 1.1 $ --
!-- t³umacz Tomasz Wójtowicz [EMAIL PROTECTED]
t³umaczone z wersji 1.2 angielskiego math.xml 2001-10-12
aktualizacja do wersji en 1.8 z naszego CVSu w dniu 2001-11-29
--
 reference id=ref.math
  titleFunkcje Matematyczne/title
  titleabbrevMath/titleabbrev
  
  partintro
   sect1 id=math.intro
titleWprowadzenie/title
para
 Omówione poni¿ej funkcje operuj± na warto¶ciach z przedzia³ów typów
 typeinteger/type i typefloat/type na twoim komputerze (co odpowiada
 zakresowi long resp. double jêzyka C).
 Je¶li potrzebujesz obs³ugi wiêkszych liczb, zajrzyj do link
 linkend=ref.bcfunkcji matematycznych dla liczb dowolnej dok³adno¶ci
 /link
/para
sect2 id=math.constants
 titleSta³e matematyczne/title
 para
  Poni¿sze warto¶ci s± zdefiniowane w PHP jako sta³e w rozszerzeniu
  matematycznym:
  table
   titleSta³e matematyczne/title
   tgroup cols=3
thead
 row
  entrySta³a/entry
  entryWartosæ/entry
  entryOpis/entry
 /row
/thead
tbody
row
 entryM_PI/entry
 entry3.14159265358979323846/entry
 entryPi/entry
/row
row
 entryM_E/entry
 entry2.7182818284590452354/entry
 entrye/entry
/row
row
 entryM_LOG2E/entry 
 entry1.4426950408889634074/entry   
 entrylog_2 e/entry
/row
row
 entryM_LOG10E/entry
 entry0.43429448190325182765/entry  
 entrylog_10 e/entry
/row
row
 entryM_LN2/entry   
 entry0.69314718055994530942/entry  
 entrylog_e 2/entry
/row
row
 entryM_LN10/entry  
 entry2.30258509299404568402/entry  
 entrylog_e 10/entry
/row
row
 entryM_PI_2/entry
 entry1.57079632679489661923/entry  
 entrypi/2/entry
/row
row
 entryM_PI_4/entry
entry0.78539816339744830962/entry   
 entrypi/4/entry
/row
row
 entryM_1_PI/entry
 entry0.31830988618379067154/entry  
 entry1/pi/entry
/row
row
 entryM_2_PI/entry
 entry0.63661977236758134308/entry  
 entry2/pi/entry
/row
row
 entryM_SQRTPI/entry
 entry1.77245385090551602729/entry  
 entrysqrt(pi) [4.0.2]/entry
/row
row
 entryM_2_SQRTPI/entry  
 entry1.12837916709551257390/entry  
 entry2/sqrt(pi)/entry
/row
row
 entryM_SQRT2/entry 
 entry1.41421356237309504880/entry  
 entrysqrt(2)/entry
/row
row
 entryM_SQRT3/entry 
 entry1.73205080756887729352/entry  
 entrysqrt(3) [4.0.2]/entry
/row
row
 entryM_SQRT1_2/entry   
 entry0.70710678118654752440/entry  
 entry1/sqrt(2)/entry
/row
row
 entryM_LNPI/entry  
 entry1.14472988584940017414/entry  
 entrylog_e(pi) [4.0.2]/entry
/row
row
 entryM_EULER/entry 
 entry0.57721566490153286061/entry  
 entrySta³a Eulera [4.0.2]/entry
/row
/tbody
   /tgroup
  /table
 Tylko sta³a M_PI by³a dostêpna w wsze¶niejszych wersjach PHP do PHP4RC1
 w³±cznie. Pozosta³e pojawi³y siê w PHP 4.0. Sta³e oznaczone [4.0.2] zosta³y
 dodane w PHP 4.0.2.
 /para
/sect2
   /sect1
  /partintro

  refentry id=function.abs
   refnamediv
refnameabs/refname
refpurposeWarto¶æ bezwglêdna (modu³ z liczby)/refpurpose
   /refnamediv
   refsect1
titleOpis/title
funcsynopsis
 funcprototype
  funcdefmixed functionabs/function/funcdef
  paramdefmixed parameterliczba/parameter/paramdef
 /funcprototype
/funcsynopsis
para
 Zwraca warto¶æ bezwzglêdn± podanej liczby. Je¶li argument is typu 
 typefloat/type, zwracana warto¶æ jest tak¿e typefloat/type,
 inaczej zwracana jest warto¶æ typeinteger/type (typefloat/type
 ma zwykle szerszy zakres ni¿ typeinteger/type).
/para
   /refsect1
  /refentry

  refentry id=function.acos
   refnamediv
refnameacos/refname
refpurposeArcus cosinus/refpurpose
   /refnamediv
   refsect1
titleOpis/title
funcsynopsis
 funcprototype
  funcdeffloat functionacos/function/funcdef
  paramdeffloat parameterargument/parameter/paramdef
 /funcprototype
/funcsynopsis
para
 Zwraca w radianach arcus cosinus argumentu.
/para
para
 Zobacz te¿ functionacosh/function, 
 functionasin/function i functionatan/function.
/para
   /refsect1
  /refentry

  refentry id=function.acosh
   refnamediv
refnameacosh/refname
refpurposeOdwrotny cosinus hiperboliczny/refpurpose
   /refnamediv
   refsect1
titleOpis/title
funcsynopsis
 funcprototype
  funcdeffloat functionacosh/function/funcdef
  paramdeffloat parameterarg/parameter/paramdef
 /funcprototype
/funcsynopsis

[PHP-DOC] cvs: phpdoc /it/functions math.xml

2001-11-19 Thread Simone Cortesi

cortesi Mon Nov 19 21:10:04 2001 EDT

  Modified files:  
/phpdoc/it/functionsmath.xml 
  Log:
  update
  
  
Index: phpdoc/it/functions/math.xml
diff -u phpdoc/it/functions/math.xml:1.16 phpdoc/it/functions/math.xml:1.17
--- phpdoc/it/functions/math.xml:1.16   Thu Nov 15 04:40:17 2001
+++ phpdoc/it/functions/math.xmlMon Nov 19 21:10:04 2001
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- EN-Revision: 1.58 Maintainer: cortesi Status: ready --
+!-- EN-Revision: 1.59 Maintainer: cortesi Status: ready --
  reference id=ref.math
   titleFunzioni Matematiche/title
   titleabbrevMat/titleabbrev
@@ -354,7 +354,9 @@
  example
   titlefunctionbase_convert/function/title
   programlisting role=php
+![CDATA[
 $binario = base_convert ($esadecimale, 16, 2);
+]]
 /programlisting
  /example
 /para
@@ -661,6 +663,7 @@
  example
   titleesempio di functionhexdec/function/title
   programlisting role=php
+![CDATA[
 var_dump(hexdec(See));
 var_dump(hexdec(ee));
 // entrambi stampano int(238)
@@ -668,6 +671,7 @@
 var_dump(hexdec(that));
 var_dump(hexdec(a0));
 // entrambi stampano int(160)
+]]
   /programlisting
  /example
 /para
@@ -761,7 +765,7 @@
  restituisce il massimo dei valori di tale array.  Se il primo parametro
  egrave; un integer, string o double, si ha bisogno almeno di due parametri
  e functionmax/function restituisce il maggiore di tali valori.
- Si può confrontare un numero illimitato di valori.
+ Si puograve; confrontare un numero illimitato di valori.
 /para
 para
  Se uno o piugrave; valori sono float, tutti i valori saranno 
@@ -899,6 +903,7 @@
  parameterseme/parameter.
  informalexample
   programlisting role=php
+![CDATA[
 // inizializza usando i microsecondi
 function crea_seme() {
 list($usec, $sec) = explode(' ', microtime());
@@ -906,6 +911,7 @@
 }
 mt_srand(crea_seme());
 $valorecasuale = mt_rand();
+]]
   /programlisting
  /informalexample
 /para
@@ -1000,7 +1006,8 @@
   separatore delle migliaia. Questo si puograve; ottenere usando questa linea:
  /para
   programlisting role=php
-lt;?php
+![CDATA[
+?php
 
 $numero = 1234.56;
 
@@ -1019,7 +1026,8 @@
 $numero_in_formato_inglese = number_format($numero, 2, '.', '');
 // 1234.56
 
-?gt;
+?
+]]
   /programlisting
  /example
 /para
@@ -1049,7 +1057,7 @@
  Restituisce l'equivalente decimale del numero ottale
  rappresentato dall'argomento stringa_ottale.
  OctDec converte una stringa ottale in un numero decimale. Il piugrave; grande
- numero che può essere convertito è 177 o 2147483647 in
+ numero che puograve; essere convertito egrave; 177 o 2147483647 in
  decimale.
 /para
 para
@@ -1077,10 +1085,10 @@
para
 informalexample
  programlisting
-
+![CDATA[
 echo pi();
 // stamperagrave; 3.1415926535898
-
+]]
  /programlisting
 /informalexample
/para
@@ -1249,6 +1257,7 @@
 para
  informalexample
   programlisting
+![CDATA[
 $foo = round (3.4);  // $foo == 3.0
 $foo = round (3.5);  // $foo == 4.0
 $foo = round (3.6);  // $foo == 4.0
@@ -1257,6 +1266,7 @@
 $foo = round (1.95583, 2);  // $foo == 1.96
 
 $foo = round(1241757, -3);  // $foo == 1242000
+]]
   /programlisting
  /informalexample
 /para
@@ -1356,6 +1366,7 @@
  parameterseme/parameter.
  informalexample
   programlisting
+![CDATA[
 // inizializza usando i microsecondi
 function crea_seme() {
 list($usec, $sec) = explode(' ', microtime());
@@ -1363,6 +1374,7 @@
 }
 srand((double)microtime()*100);
 $valorecasuale = rand();
+]]
   /programlisting
  /informalexample
 /para





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2001-11-15 Thread Simone Cortesi

cortesi Thu Nov 15 04:38:47 2001 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  added missing colon
  
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.57 phpdoc/en/functions/math.xml:1.58
--- phpdoc/en/functions/math.xml:1.57   Sun Nov 11 05:42:08 2001
+++ phpdoc/en/functions/math.xmlThu Nov 15 04:38:47 2001
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.57 $ --
+!-- $Revision: 1.58 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -937,7 +937,7 @@
 /simpara
 simpara
  See also functionmt_rand/function,
- functionmt_srand/function functionrand/function,
+ functionmt_srand/function, functionrand/function,
  functionsrand/function, and
  functiongetrandmax/function.
 /simpara





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2001-11-11 Thread Gabor Hojtsy

gobaSun Nov 11 05:42:08 2001 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  Documenting a bunch of mathematical functions:
  
   sinh, cosh, tanh, asinh, acosh, atanh
  
  The last three are not available on windows...
  
  
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.56 phpdoc/en/functions/math.xml:1.57
--- phpdoc/en/functions/math.xml:1.56   Sat Nov 10 16:49:37 2001
+++ phpdoc/en/functions/math.xmlSun Nov 11 05:42:08 2001
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.56 $ --
+!-- $Revision: 1.57 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -162,10 +162,37 @@
  /funcprototype
 /funcsynopsis
 para
- Returns the arc cosine of arg in radians.
+ Returns the arc cosine of parameterarg/parameter in radians.
 /para
 para
- See also functionasin/function and functionatan/function.
+ See also functionacosh/function, functionasin/function
+ and functionatan/function.
+/para
+   /refsect1
+  /refentry
+
+  refentry id=function.acosh
+   refnamediv
+refnameacosh/refname
+refpurposeInverse hyperbolic cosine/refpurpose
+   /refnamediv
+   refsect1
+titleDescription/title
+funcsynopsis
+ funcprototype
+  funcdeffloat functionacosh/function/funcdef
+  paramdeffloat parameterarg/parameter/paramdef
+ /funcprototype
+/funcsynopsis
+para
+ Returns the inverse hyperbolic cosine of
+ parameterarg/parameter, i.e. the value whose
+ hyperbolic cosine is parameterarg/parameter.
+/para
+note.no-windows;
+para
+ See also functionacos/function, functionasin/function
+ and functionatan/function.
 /para
/refsect1
   /refentry
@@ -187,7 +214,34 @@
  Returns the arc sine of arg in radians.
 /para
 para
- See also functionacos/function and functionatan/function.
+ See also functionasinh/function, functionacos/function
+ and functionatan/function.
+/para
+   /refsect1
+  /refentry
+
+  refentry id=function.asinh
+   refnamediv
+refnameasinh/refname
+refpurposeInverse hyperbolic sine/refpurpose
+   /refnamediv
+   refsect1
+titleDescription/title
+funcsynopsis
+ funcprototype
+  funcdeffloat functionasinh/function/funcdef
+  paramdeffloat parameterarg/parameter/paramdef
+ /funcprototype
+/funcsynopsis
+para
+ Returns the inverse hyperbolic sine of
+ parameterarg/parameter, i.e. the value whose
+ hyperbolic sine is parameterarg/parameter.
+/para
+note.no-windows;
+para
+ See also functionasin/function, functionacos/function
+ and functionatan/function.
 /para
/refsect1
   /refentry
@@ -209,7 +263,34 @@
  Returns the arc tangent of arg in radians.
 /para
 para
- See also functionasin/function and functionacos/function.
+ See also functionatanh/function, functionasin/function
+ and functionacos/function.
+/para
+   /refsect1
+  /refentry
+
+  refentry id=function.atanh
+   refnamediv
+refnameatanh/refname
+refpurposeInverse hyperbolic tangent/refpurpose
+   /refnamediv
+   refsect1
+titleDescription/title
+funcsynopsis
+ funcprototype
+  funcdeffloat functionatanh/function/funcdef
+  paramdeffloat parameterarg/parameter/paramdef
+ /funcprototype
+/funcsynopsis
+para
+ Returns the inverse hyperbolic tangent of
+ parameterarg/parameter, i.e. the value whose
+ hyperbolic tangent is parameterarg/parameter.
+/para
+note.no-windows;
+para
+ See also functionatan/function, functionasin/function
+ and functionacos/function.
 /para
/refsect1
   /refentry
@@ -359,6 +440,30 @@
/refsect1
   /refentry
 
+  refentry id=function.cosh
+   refnamediv
+refnamecosh/refname
+refpurposeHyperbolic cosine/refpurpose
+   /refnamediv
+   refsect1
+titleDescription/title
+funcsynopsis
+ funcprototype
+  funcdeffloat functioncosh/function/funcdef
+  paramdeffloat parameterarg/parameter/paramdef
+ /funcprototype
+/funcsynopsis
+para
+ Returns the hyperbolic cosine of parameterarg/parameter,
+ defined as literal(exp(arg) + exp(-arg))/2/literal.
+/para
+para
+ See also functioncos/function, functionacosh/function,
+ functionsin/function and functiontan/function.
+/para
+   /refsect1
+  /refentry
+
   refentry id=function.decbin
refnamediv
 refnamedecbin/refname
@@ -1190,6 +1295,30 @@
/refsect1
   /refentry
 
+  refentry id=function.sinh
+   refnamediv
+refnamesinh/refname
+refpurposeHyperbolic sine/refpurpose
+   /refnamediv
+   refsect1
+titleDescription/title
+funcsynopsis
+ funcprototype
+  funcdeffloat functionsinh/function/funcdef
+  paramdeffloat parameterarg/parameter/paramdef
+ /funcprototype
+/funcsynopsis
+para
+ Returns the 

[PHP-DOC] cvs: phpdoc /en/functions math.xml

2001-09-19 Thread Stig Bakken

ssb Wed Sep 19 20:50:08 2001 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  * make better seeds in mt_srand/srand examples
  
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.51 phpdoc/en/functions/math.xml:1.52
--- phpdoc/en/functions/math.xml:1.51   Sat Sep  1 10:54:08 2001
+++ phpdoc/en/functions/math.xmlWed Sep 19 20:50:08 2001
@@ -1,5 +1,5 @@
 ?xml encoding=iso-8859-1?
-!-- $Revision: 1.51 $ --
+!-- $Revision: 1.52 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -794,8 +794,12 @@
  parameterseed/parameter.
  informalexample
   programlisting role=php
-// seed with microseconds since last whole second
-mt_srand ((float) microtime() * 100);
+// seed with microseconds
+function make_seed() {
+list($usec,$sec) = explode( , microtime());
+return ((double)$sec+(double)$usec) * 10;
+}
+mt_srand(make_seed());
 $randval = mt_rand();
   /programlisting
  /informalexample
@@ -1223,8 +1227,12 @@
  parameterseed/parameter.
  informalexample
   programlisting role=php
-// seed with microseconds since last whole second
-srand ((float) microtime() * 100);
+// seed with microseconds
+function make_seed() {
+list($usec,$sec) = explode( , microtime());
+return ((double)$sec+(double)$usec) * 10;
+}
+srand(make_seed());
 $randval = rand();
   /programlisting
  /informalexample





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2001-09-01 Thread Jeroen van Wolffelaar

jeroen  Sat Sep  1 10:54:09 2001 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  Implemented user-notes to round()
  
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.50 phpdoc/en/functions/math.xml:1.51
--- phpdoc/en/functions/math.xml:1.50   Sun Aug 19 07:47:37 2001
+++ phpdoc/en/functions/math.xmlSat Sep  1 10:54:08 2001
@@ -1,5 +1,5 @@
 ?xml encoding=iso-8859-1?
-!-- $Revision: 1.50 $ --
+!-- $Revision: 1.51 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -1126,13 +1126,28 @@
  Returns the rounded value of parameterval/parameter to
  specified parameterprecision/parameter 
  (number of digits after the decimal point).
+ parameterprecision/parameter can also be negative or zero (default).
+/para
+para
+ caution
+  simpara
+   PHP doesn't handle strings like literal12,300.2/literal correctly
+   by default. See link linkend=language.types.string.conversion
+   converting from strings/link.
+  /simpara
+ /caution
+/para
+para
  informalexample
   programlisting role=php
-$foo = round (3.4);  // $foo == 3.0
-$foo = round (3.5);  // $foo == 4.0
-$foo = round (3.6);  // $foo == 4.0
+$foo = round(3.4);  // $foo == 3.0
+$foo = round(3.5);  // $foo == 4.0
+$foo = round(3.6);  // $foo == 4.0
+$foo = round(3.6, 0);  // equivalent with above
+
+$foo = round(1.95583, 2);  // $foo == 1.96
 
-$foo = round (1.95583, 2);  // $foo == 1.96
+$foo = round(1241757, -3);  // $foo == 1242000
   /programlisting
  /informalexample
 /para
@@ -1262,5 +1277,7 @@
 sgml-local-catalogs:nil
 sgml-local-ecat-files:nil
 End:
-vim: ts=1 sw=1 et syntax=sgml
+vim600: syn=xml
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
 --





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2001-08-12 Thread Jeroen van Wolffelaar

jeroen  Sun Aug 12 17:37:24 2001 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  Fix that rand() bug; double-float; better min() documentation; 
  possibly something else I don't remember right now :-)
  
  

Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.47 phpdoc/en/functions/math.xml:1.48
--- phpdoc/en/functions/math.xml:1.47   Thu Aug  9 03:17:51 2001
+++ phpdoc/en/functions/math.xmlSun Aug 12 17:37:24 2001
@@ -1,4 +1,4 @@
-!-- $Revision: 1.47 $ --
+!-- $Revision: 1.48 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -8,8 +8,9 @@
 titleIntroduction/title
 para
  These math functions will only handle values within the range of
- the long and double types on your computer.  If you need to
- handle bigger numbers, take a look at the link
+ the typeinteger/type and typefloat/type types on your computer.  
+ (this corresponds currently to the C types long resp. double)
+ If you need to handle bigger numbers, take a look at the link
  linkend=ref.bcarbitrary precision math functions/link.
 /para
 sect2 id=math.constants
@@ -140,8 +141,8 @@
 para
  Returns the absolute value of number.  If the argument number is
  of type typefloat/type, the return type is also typefloat/type, 
- otherwise it is typeint/type (as typefloat/type usually has a
- bigger value range than typeint/type).
+ otherwise it is typeinteger/type (as typefloat/type usually has a
+ bigger value range than typeinteger/type).
 /para
/refsect1
   /refentry
@@ -440,8 +441,8 @@
 titleDescription/title
 funcsynopsis
  funcprototype
-  funcdefdouble functiondeg2rad/function/funcdef
-  paramdefdouble parameternumber/parameter/paramdef
+  funcdeffloat functiondeg2rad/function/funcdef
+  paramdeffloat parameternumber/parameter/paramdef
  /funcprototype
 /funcsynopsis
 para
@@ -579,7 +580,7 @@
 titleDescription/title
 funcsynopsis
  funcprototype
-  funcdefdouble functionlcg_value/function/funcdef
+  funcdeffloat functionlcg_value/function/funcdef
   paramdefvoid/paramdef
  /funcprototype
 /funcsynopsis
@@ -652,14 +653,14 @@
 para
  If the first parameter is an array, functionmax/function
  returns the highest value in that array.  If the first parameter
- is an integer, string or double, you need at least two parameters
+ is an integer, string or float, you need at least two parameters
  and functionmax/function returns the biggest of these values.
  You can compare an unlimited number of values.
 /para
 para
- If one or more of the values is a double, all the values will be
- treated as doubles, and a double is returned.  If none of the
- values is a double, all of them will be treated as integers, and
+ If one or more of the values is a float, all the values will be
+ treated as floats, and a float is returned.  If none of the
+ values is a float, all of them will be treated as integers, and
  an integer is returned.
 /para
/refsect1
@@ -674,10 +675,14 @@
 titleDescription/title
 funcsynopsis
  funcprototype
-  funcdefmixed functionmin/function/funcdef
-  paramdefmixed parameterarg1/parameter/paramdef
-  paramdefmixed parameterarg2/parameter/paramdef
-  paramdefmixed parameterargn/parameter/paramdef
+  funcdefnumber functionmin/function/funcdef
+  paramdefnumber parameterarg1/parameter/paramdef
+  paramdefnumber parameterarg2/parameter/paramdef
+  paramdefparameteroptional.../optional/parameter/paramdef
+ /funcprototype
+ funcprototype
+  funcdefnumber functionmin/function/funcdef
+  paramdefarray parameternumbers/parameter/paramdef
  /funcprototype
 /funcsynopsis
 para
@@ -685,17 +690,20 @@
  parameter values.
 /para
 para
- If the first parameter is an array, functionmin/function
- returns the lowest value in that array.  If the first parameter
- is an integer, string or double, you need at least two parameters
+ In the first variant, you need at least two parameters
  and functionmin/function returns the lowest of these values.
  You can compare an unlimited number of values.
 /para
 para
- If one or more of the values is a double, all the values will be
- treated as doubles, and a double is returned.  If none of the
- values is a double, all of them will be treated as integers, and
- an integer is returned.
+ In the second variant, functionmin/function
+ returns the lowest value in parameternumbers/parameter.  
+/para
+para
+ If one or more of the values is a typefloat/type, all the values 
+ will be
+ treated as floats, and a float is returned.  If none of the
+ values is a float, all of them will be treated as typeinteger/types, 

Re: [PHP-DOC] cvs: phpdoc /en/functions math.xml

2001-08-09 Thread eschmid+sic

On Thu, Aug 09, 2001 at 05:58:49AM -, Jani Taskinen wrote:
 sniperThu Aug  9 01:58:49 2001 EDT
 
   Modified files:  
 /phpdoc/en/functions  math.xml 
   Log:
   Another try with this. This seems to 'compile'.

Please revert this patch.

-Egon   
   
 Index: phpdoc/en/functions/math.xml
 diff -u phpdoc/en/functions/math.xml:1.45 phpdoc/en/functions/math.xml:1.46
 --- phpdoc/en/functions/math.xml:1.45 Tue Aug  7 18:25:15 2001
 +++ phpdoc/en/functions/math.xml  Thu Aug  9 01:58:49 2001
 @@ -1,4 +1,4 @@
 -!-- $Revision: 1.45 $ --
 +!-- $Revision: 1.46 $ --
   reference id=ref.math
titleMathematical Functions/title
titleabbrevMath/titleabbrev
 @@ -710,11 +710,8 @@
  funcsynopsis
   funcprototype
funcdefint functionmt_rand/function/funcdef
 -  paramdefint
 -   parameteroptionalmin/optional/parameter
 -  /paramdef
 -  paramdefint
 -   parameteroptionalmax/optional/parameter
 +  paramdef
 +   parameteroptionalint min, int max/optional/parameter
/paramdef
   /funcprototype
  /funcsynopsis
 @@ -1051,11 +1048,8 @@
  funcsynopsis
   funcprototype
funcdefint functionrand/function/funcdef
 -  paramdefint 
 -   parameteroptionalmin/optional/parameter
 -  /paramdef
 -  paramdefint
 -   parameteroptionalmax/optional/parameter
 +  paramdef 
 +   parameteroptionalint min, int max/optional/parameter
/paramdef
   /funcprototype
  /funcsynopsis
 
 

-- 
-- 
All known books about PHP and related books: http://php.net/books.php 
Concert Band of the University of Hohenheim: http://www.concert-band.de/
First and second bestselling book in German: http://www.php-buch.de/



[PHP-DOC] cvs: phpdoc /en/functions math.xml

2001-08-09 Thread Jani Taskinen

sniper  Thu Aug  9 03:17:51 2001 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  Reverted the change.
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.46 phpdoc/en/functions/math.xml:1.47
--- phpdoc/en/functions/math.xml:1.46   Thu Aug  9 01:58:49 2001
+++ phpdoc/en/functions/math.xmlThu Aug  9 03:17:51 2001
@@ -1,4 +1,4 @@
-!-- $Revision: 1.46 $ --
+!-- $Revision: 1.47 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -710,8 +710,11 @@
 funcsynopsis
  funcprototype
   funcdefint functionmt_rand/function/funcdef
-  paramdef
-   parameteroptionalint min, int max/optional/parameter
+  paramdefint
+   parameteroptionalmin/optional/parameter
+  /paramdef
+  paramdefint
+   parameteroptionalmax/optional/parameter
   /paramdef
  /funcprototype
 /funcsynopsis
@@ -1048,8 +1051,11 @@
 funcsynopsis
  funcprototype
   funcdefint functionrand/function/funcdef
-  paramdef 
-   parameteroptionalint min, int max/optional/parameter
+  paramdefint 
+   parameteroptionalmin/optional/parameter
+  /paramdef
+  paramdefint
+   parameteroptionalmax/optional/parameter
   /paramdef
  /funcprototype
 /funcsynopsis





[PHP-DOC] cvs: phpdoc /fr/functions math.xml

2001-08-07 Thread Damien Seguy

damsTue Aug  7 05:04:02 2001 EDT

  Modified files:  
/phpdoc/fr/functionsmath.xml 
  Log:
  Adding new def for pow()mt_rand was already OK.
  
Index: phpdoc/fr/functions/math.xml
diff -u phpdoc/fr/functions/math.xml:1.12 phpdoc/fr/functions/math.xml:1.13
--- phpdoc/fr/functions/math.xml:1.12   Wed Jul 25 16:26:56 2001
+++ phpdoc/fr/functions/math.xmlTue Aug  7 05:04:02 2001
@@ -1,3 +1,4 @@
+!-- $Revision: 1.13 $ --
 reference id=ref.math
  titleMatheacute;matiques/title
  titleabbrevMaths/titleabbrev
@@ -1001,16 +1002,45 @@
titleDescription/title
funcsynopsis
 funcprototype
- funcdeffloat functionpow/function/funcdef
- paramdeffloat parameterbase/parameter/paramdef
- paramdeffloat parameterexp/parameter/paramdef
+ funcdefnumber functionpow/function/funcdef
+ paramdefnumber parameterbase/parameter/paramdef
+ paramdefnumber parameterexp/parameter/paramdef
 /funcprototype
/funcsynopsis
para
 functionpow/function retourne parameterbase/parameter
 eacute;leveacute; agrave; la puissance parameterexp/parameter.
-Si le calcul est impossible (racine d'un nombre neacute;gatif, par
-exemple), functionexp/function retourne literalNAN/literal.
+Si possible, functionpow/function retourne un typeinteger/type.
+   /para
+   para
+para
+ Si le calcul ne peut tre fait, une alerte sera affichŽe et 
+  functionpow/function retournera false;.
+/para
+example
+ titleQuelques exemples avec functionpow/function/title
+ programlisting role=php
+lt;?php
+  var_dump( pow(2,8) ); 
+// int(256)
+  echo pow(-1,20); 
+// 1
+  echo pow(0, 0); 
+// 1
+echo pow(-1, 5.5); 
+  // erreur
+?gt;
+ /programlisting
+/example
+warning
+ para
+  En PHP 4.0.6 plus ancien, functionpow/function retournait
+  toujours un nombre ˆ virgule flottante (typefloat/type), 
+  et n'affichait pas d'alerte. Si le calcul est impossible 
+  (racine d'un nombre neacute;gatif, par exemple), 
+  functionpow/function retournait literalNAN/literal.
+ /para
+/warning
/para
para
 Voir aussi





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2001-08-07 Thread Thomas Schoefbeck

tom Tue Aug  7 17:51:50 2001 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  Egon: Maybe you like this more. If you dislike this also, pls. look  for a solution 
and don't just re-implement a bug again
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.43 phpdoc/en/functions/math.xml:1.44
--- phpdoc/en/functions/math.xml:1.43   Mon Aug  6 23:38:28 2001
+++ phpdoc/en/functions/math.xmlTue Aug  7 17:51:50 2001
@@ -1,4 +1,4 @@
-!-- $Revision: 1.43 $ --
+!-- $Revision: 1.44 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -710,11 +710,11 @@
 funcsynopsis
  funcprototype
   funcdefint functionmt_rand/function/funcdef
-  paramdefint
-   parameteroptionalmin/optional/parameter
+  paramdef[int
+   parametermin/parameter
   /paramdef
   paramdefint
-   parameteroptionalmax/optional/parameter
+   parametermax/parameter]
   /paramdef
  /funcprototype
 /funcsynopsis
@@ -1051,11 +1051,11 @@
 funcsynopsis
  funcprototype
   funcdefint functionrand/function/funcdef
-  paramdef
-   parameteroptionalint min/optional/parameter
+  paramdef[int 
+   parametermin/parameter
   /paramdef
   paramdefint
-   parameteroptionalmax/optional/parameter
+   parametermax/parameter]
   /paramdef
  /funcprototype
 /funcsynopsis





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2001-08-07 Thread Egon Schmid

eschmid Tue Aug  7 18:25:15 2001 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  Sorry, but this is not the way we can build a correct manual.
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.44 phpdoc/en/functions/math.xml:1.45
--- phpdoc/en/functions/math.xml:1.44   Tue Aug  7 17:51:50 2001
+++ phpdoc/en/functions/math.xmlTue Aug  7 18:25:15 2001
@@ -1,4 +1,4 @@
-!-- $Revision: 1.44 $ --
+!-- $Revision: 1.45 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -710,11 +710,11 @@
 funcsynopsis
  funcprototype
   funcdefint functionmt_rand/function/funcdef
-  paramdef[int
-   parametermin/parameter
+  paramdefint
+   parameteroptionalmin/optional/parameter
   /paramdef
   paramdefint
-   parametermax/parameter]
+   parameteroptionalmax/optional/parameter
   /paramdef
  /funcprototype
 /funcsynopsis
@@ -1051,11 +1051,11 @@
 funcsynopsis
  funcprototype
   funcdefint functionrand/function/funcdef
-  paramdef[int 
-   parametermin/parameter
+  paramdefint 
+   parameteroptionalmin/optional/parameter
   /paramdef
   paramdefint
-   parametermax/parameter]
+   parameteroptionalmax/optional/parameter
   /paramdef
  /funcprototype
 /funcsynopsis





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2001-08-06 Thread Egon Schmid

eschmid Mon Aug  6 23:27:10 2001 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  Both arguments are optional, see the source code.
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.41 phpdoc/en/functions/math.xml:1.42
--- phpdoc/en/functions/math.xml:1.41   Mon Aug  6 17:13:19 2001
+++ phpdoc/en/functions/math.xmlMon Aug  6 23:27:10 2001
@@ -1,4 +1,4 @@
-!-- $Revision: 1.41 $ --
+!-- $Revision: 1.42 $ --
  reference id=ref.math
   titleMathematical Functions/title
   titleabbrevMath/titleabbrev
@@ -714,7 +714,7 @@
parameteroptionalmin/optional/parameter
   /paramdef
   paramdefint
-   parametermax/parameter
+   parameteroptionalmax/optional/parameter
   /paramdef
  /funcprototype
 /funcsynopsis





[PHP-DOC] cvs: phpdoc /fr/functions math.xml

2001-07-25 Thread Jouni Ahto

jah Wed Jul 25 16:26:56 2001 EDT

  Modified files:  
/phpdoc/fr/functionsmath.xml 
  Log:
  
  Fixed last illegal chars. French version compiles now.
  
  
Index: phpdoc/fr/functions/math.xml
diff -u phpdoc/fr/functions/math.xml:1.11 phpdoc/fr/functions/math.xml:1.12
--- phpdoc/fr/functions/math.xml:1.11   Tue Jul 24 09:08:31 2001
+++ phpdoc/fr/functions/math.xmlWed Jul 25 16:26:56 2001
@@ -631,7 +631,7 @@
  refentry id=function.log
   refnamediv
refnameLog/refname
-   refpurposeLogarithme naturel (nŽpŽrien)/refpurpose
+   refpurposeLogarithme naturel (neacute;peacute;rien)/refpurpose
   /refnamediv
   refsect1
titleDescription/title
@@ -643,7 +643,7 @@
/funcsynopsis
para
 functionlog/function retourne le logarithme naturel 
-(ou nŽpŽrien) de parameterarg/parameter.
+(ou neacute;peacute;rien) de parameterarg/parameter.
/para
   /refsect1
  /refentry





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2001-07-08 Thread Jeroen van Wolffelaar

jeroen  Sun Jul  8 16:31:38 2001 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  typo
  
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.36 phpdoc/en/functions/math.xml:1.37
--- phpdoc/en/functions/math.xml:1.36   Thu Jun 28 11:53:23 2001
+++ phpdoc/en/functions/math.xmlSun Jul  8 16:31:34 2001
@@ -296,9 +296,9 @@
  the binary_string argument.
 /para
 para
- Octdec converts a binary number to a decimal number. The largest
- number that can be converted is 31 bits of 1's or 2147483647 in
- decimal.
+ functionbindec/function converts a binary number to an 
+typeinteger/type. The largest number that can be converted is 
+31 bits of 1's or 2147483647 in decimal.
 /para
 para
  See also the functiondecbin/function





Re: [PHP-DOC] cvs: phpdoc /en/functions math.xml

2001-07-08 Thread Derick Rethans

On Sun, 8 Jul 2001, Jeroen van Wolffelaar wrote:

 - Octdec converts a binary number to a decimal number. The largest
 - number that can be converted is 31 bits of 1's or 2147483647 in
 - decimal.
 + functionbindec/function converts a binary number to an
 +  typeinteger/type. The largest number that can be converted is
 +  31 bits of 1's or 2147483647 in decimal.

Get rid of these tabs please...

Derick




[PHP-DOC] cvs: phpdoc /en/functions math.xml

2001-07-08 Thread Jeroen van Wolffelaar

jeroen  Sun Jul  8 16:39:26 2001 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  Damn tabs again
  
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.37 phpdoc/en/functions/math.xml:1.38
--- phpdoc/en/functions/math.xml:1.37   Sun Jul  8 16:31:34 2001
+++ phpdoc/en/functions/math.xmlSun Jul  8 16:39:25 2001
@@ -297,8 +297,8 @@
 /para
 para
  functionbindec/function converts a binary number to an 
-typeinteger/type. The largest number that can be converted is 
-31 bits of 1's or 2147483647 in decimal.
+ typeinteger/type. The largest number that can be converted is 
+ 31 bits of 1's or 2147483647 in decimal.
 /para
 para
  See also the functiondecbin/function





[PHP-DOC] cvs: phpdoc /it/functions math.xml

2001-07-07 Thread Simone Cortesi

cortesi Sat Jul  7 11:18:25 2001 EDT

  Modified files:  
/phpdoc/it/functionsmath.xml 
  Log:
  now in sync with en tree and corrected some typos and cases
  
  

Index: phpdoc/it/functions/math.xml
diff -u phpdoc/it/functions/math.xml:1.10 phpdoc/it/functions/math.xml:1.11
--- phpdoc/it/functions/math.xml:1.10   Sat Jun 23 16:35:12 2001
+++ phpdoc/it/functions/math.xmlSat Jul  7 11:18:25 2001
@@ -1,6 +1,6 @@
  reference id=ref.math
   titleFunzioni Matematiche/title
-  titleabbrevMat./titleabbrev
+  titleabbrevMat/titleabbrev
 
   partintro
sect1 id=math.intro
@@ -17,80 +17,100 @@
   table
titleCostanti Matematiche/title
tgroup cols=3
-   thead
-row
- entryCostante/entry
- entryValore/entry
- entryDescrizione/entry
-/row
-   /thead
-   tbody
-   row
-entryM_PI/entry
-entry3.14159265358979323846/entry
-entryIl valore di pi; (pi-greco)/entry
-   /row
-   row
-entryM_E/entry
-entry2.7182818284590452354/entry
-entrye/entry
-   /row
-   row
-entryM_LOG2E/entry 
-entry1.4426950408889634074/entry   
-entrylog_2 e/entry
-   /row
-   row
-entryM_LOG10E/entry
-entry0.43429448190325182765/entry  
-entrylog_10 e/entry
-   /row
-   row
-entryM_LN2/entry   
-entry0.69314718055994530942/entry  
-entrylog_e 2/entry
-   /row
-   row
-entryM_LN10/entry  
-entry2.30258509299404568402/entry  
-entrylog_e 10/entry
-   /row
-   row
-entryM_PI_2/entry
-entry1.57079632679489661923/entry  
-entrypi/2/entry
-   /row
-   row
-entryM_PI_4/entry
-   entry0.78539816339744830962/entry   
-entrypi/4/entry
-   /row
-   row
-entryM_1_PI/entry
-entry0.31830988618379067154/entry  
-entry1/pi/entry
-   /row
-   row
-entryM_2_PI/entry
-entry0.63661977236758134308/entry  
-entry2/pi/entry
-   /row
-   row
-entryM_2_SQRTPI/entry  
-entry1.12837916709551257390/entry  
-entry2/sqrt(pi)/entry
-   /row
-   row
-entryM_SQRT2/entry 
-entry1.41421356237309504880/entry  
-entrysqrt(2)/entry
-   /row
-   row
-entryM_SQRT1_2/entry   
-entry0.70710678118654752440/entry  
-entry1/sqrt(2)/entry
-   /row
-   /tbody
+thead
+ row
+  entryCostante/entry
+  entryValore/entry
+  entryDescrizione/entry
+ /row
+/thead
+tbody
+row
+ entryM_PI/entry
+ entry3.14159265358979323846/entry
+ entryPi/entry
+/row
+row
+ entryM_E/entry
+ entry2.7182818284590452354/entry
+ entrye/entry
+/row
+row
+ entryM_LOG2E/entry 
+ entry1.4426950408889634074/entry   
+ entrylog_2 e/entry
+/row
+row
+ entryM_LOG10E/entry
+ entry0.43429448190325182765/entry 
+ entrylog_10 e/entry
+/row
+row
+ entryM_LN2/entry  
+ entry0.69314718055994530942/entry 
+ entrylog_e 2/entry
+/row
+row
+ entryM_LN10/entry 
+ entry2.30258509299404568402/entry 
+ entrylog_e 10/entry
+/row
+row
+ entryM_PI_2/entry
+ entry1.57079632679489661923/entry 
+ entrypi/2/entry
+/row
+row
+ entryM_PI_4/entry
+ entry0.78539816339744830962/entry 
+ entrypi/4/entry
+/row
+row
+ entryM_1_PI/entry
+ entry0.31830988618379067154/entry 
+ entry1/pi/entry
+/row
+row
+ entryM_2_PI/entry
+ entry0.63661977236758134308/entry 
+ entry2/pi/entry
+/row
+row
+ entryM_SQRTPI/entry
+ entry1.77245385090551602729/entry  
+ entrysqrt(pi) [4.0.2]/entry
+/row
+row
+ entryM_2_SQRTPI/entry 
+ entry1.12837916709551257390/entry 
+ entry2/sqrt(pi)/entry
+/row
+row
+ entryM_SQRT2/entry
+ entry1.41421356237309504880/entry 
+ entrysqrt(2)/entry
+/row
+row
+ entryM_SQRT3/entry 
+ entry1.73205080756887729352/entry  
+ entrysqrt(3) [4.0.2]/entry
+/row
+row
+ entryM_SQRT1_2/entry  
+ entry0.70710678118654752440/entry 
+ entry1/sqrt(2)/entry
+/row
+row
+ entryM_LNPI/entry  
+ entry1.14472988584940017414/entry  
+ entrylog_e(pi) [4.0.2]/entry
+/row
+row
+ entryM_EULER/entry 
+ entry0.57721566490153286061/entry  
+ entryCostante di Eulero [4.0.2]/entry
+/row
+/tbody
/tgroup
   /table
  Soltanto M_PI è disponibile nelle versioni precedenti alla PHP4RC1 (compresa).
@@ -103,7 +123,7 @@
   refentry id=function.abs
refnamediv
 refnameabs/refname
-refpurposevalore assoluto/refpurpose
+refpurposeValore assoluto/refpurpose
/refnamediv
refsect1
 

[PHP-DOC] cvs: phpdoc /it/functions math.xml

2001-07-07 Thread Simone Cortesi

cortesi Sat Jul  7 17:56:34 2001 EDT

  Modified files:  
/phpdoc/it/functionsmath.xml 
  Log:
  correction of a wrong closed tag
  
  
Index: phpdoc/it/functions/math.xml
diff -u phpdoc/it/functions/math.xml:1.11 phpdoc/it/functions/math.xml:1.12
--- phpdoc/it/functions/math.xml:1.11   Sat Jul  7 11:18:25 2001
+++ phpdoc/it/functions/math.xmlSat Jul  7 17:56:33 2001
@@ -992,7 +992,7 @@
 /funcsynopsis
 para
  Restituisce parameterbase/parameter elevato alla potenza di
- parameterespparameter. Se questo non puograve; essere computato,
+ parameteresp/parameter. Se questo non puograve; essere computato,
  functionexp/function restituiragrave; literalNAN/literal.
 /para
 para 
@@ -1232,4 +1232,5 @@
 sgml-local-ecat-files:nil
 End:
 --
+
 





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2001-06-27 Thread Daniel Beckham

danbeck Wed Jun 27 04:17:25 2001 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  odd place for a period
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.33 phpdoc/en/functions/math.xml:1.34
--- phpdoc/en/functions/math.xml:1.33   Tue Jun 26 22:46:01 2001
+++ phpdoc/en/functions/math.xmlWed Jun 27 04:17:25 2001
@@ -1,6 +1,6 @@
  reference id=ref.math
   titleMathematical Functions/title
-  titleabbrevMath./titleabbrev
+  titleabbrevMath/titleabbrev
   
   partintro
sect1 id=math.intro





[PHP-DOC] cvs: phpdoc /en/functions math.xml

2001-05-21 Thread Damien Seguy

damsMon May 21 03:47:44 2001 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
  Log:
  Added details to pow from PHP-note.
  
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.27 phpdoc/en/functions/math.xml:1.28
--- phpdoc/en/functions/math.xml:1.27   Wed May 16 11:33:21 2001
+++ phpdoc/en/functions/math.xmlMon May 21 03:47:43 2001
@@ -923,7 +923,9 @@
  /funcprototype
 /funcsynopsis
 para
- Returns base raised to the power of exp.
+ Returns parameterbase/parameter raised to the power of 
+ parameterexp/parameter. If this can't be computed, 
+ functionexp/function will return literalNAN/literal.
 /para
 para 
  See also functionexp/function.





[PHP-DOC] cvs: phpdoc /en/functions math.xml /ja/functions imap.xml math.xml oci8.xml pcre.xml pgsql.xml

2001-05-05 Thread Rui Hirokawa

hirokawaSat May  5 22:22:49 2001 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml 
/phpdoc/ja/functionsimap.xml math.xml oci8.xml pcre.xml pgsql.xml 
  Log:
  fixed a typo and update translations.
  

Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.24 phpdoc/en/functions/math.xml:1.25
--- phpdoc/en/functions/math.xml:1.24   Tue May  1 09:20:51 2001
+++ phpdoc/en/functions/math.xmlSat May  5 22:22:48 2001
@@ -491,7 +491,7 @@
 simpara
  Returns the next lowest integer value by rounding down
  parametervalue/parameter if neccessary. 
- The return value of functionceil/function is still of type
+ The return value of functionfloor/function is still of type
  typefloat/type as the value range of typefloat/type is 
  usually bigger than that of typeint/type.
 /simpara
Index: phpdoc/ja/functions/imap.xml
diff -u phpdoc/ja/functions/imap.xml:1.19 phpdoc/ja/functions/imap.xml:1.20
--- phpdoc/ja/functions/imap.xml:1.19   Fri Apr 27 19:20:55 2001
+++ phpdoc/ja/functions/imap.xmlSat May  5 22:22:49 2001
@@ -1760,7 +1760,7 @@
 title説明/title
 funcsynopsis
  funcprototype
-  funcdefarray functionimap_header_decode/function/funcdef
+  funcdefarray functionimap_mime_header_decode/function/funcdef
   paramdefstring parametertext/parameter/paramdef
  /funcprototype
 /funcsynopsis
Index: phpdoc/ja/functions/math.xml
diff -u phpdoc/ja/functions/math.xml:1.16 phpdoc/ja/functions/math.xml:1.17
--- phpdoc/ja/functions/math.xml:1.16   Sun Jan  7 17:39:30 2001
+++ phpdoc/ja/functions/math.xmlSat May  5 22:22:49 2001
@@ -138,8 +138,10 @@
  /funcprototype
 /funcsynopsis
 para
- 
numberの絶対値を返します。引数numberがfloatの場合はfloat、その他
- の場合はintを返します。
+ numberの絶対値を返します。引数numberがtypefloat/typeの場合は
+ 帰り値もtypefloat/typeとなり、その他の場合は、
+ typeint/typeを返します。(これは、typefloat/typeの範囲は、
+ typeint/typeよりも広いためです。)
 /para
/refsect1
   /refentry
@@ -311,27 +313,16 @@
 title説明/title
 funcsynopsis
  funcprototype
-  funcdefint functionceil/function/funcdef
-  paramdeffloat parameternumber/parameter/paramdef
+  funcdeffloat functionceil/function/funcdef
+  paramdeffloat parametervalue/parameter/paramdef
  /funcprototype
 /funcsynopsis
-para
- parameternumber/parameter の次に大きい整数を返します。整数に
- functionceil/function を使うことは全くの時間の無駄です。
- informalexample
-  programlisting role=php
-$x = ceil(4.25); 
-//  which would make $x=5
-  /programlisting
- /informalexample
-/para
-note
- para
-  PHP/FI 2 での functionceil/function は浮動小数 (float) を返
-  しました。literal$new = (double)ceil($number);/literalとする
-  ことで従来と同じ結果を得ることが出来ます。
- /para
-/note
+simpara
+ parametervalue/parameterの次に大きい整数値を返します。
+ functionceil/functionの返り値は、typefloat/type型となりま
+ す。これは、typefloat/type値の範囲は通常typeint/typeより
+ も広いためです。
+/simpara
 simpara
  functionfloor/function と functionround/function も参照
  下さい。
@@ -456,7 +447,7 @@
 
   refentry id=function.exp
refnamediv
-refnameExp/refname
+refnameexp/refname
 refpurpose自然対数 e の累乗を計算します/refpurpose
/refnamediv
refsect1
@@ -478,29 +469,23 @@
 
   refentry id=function.floor
refnamediv
-refnameFloor/refname
+refnamefloor/refname
 refpurpose切捨て/refpurpose
/refnamediv
refsect1
 title説明/title
 funcsynopsis
  funcprototype
-  funcdefint functionfloor/function/funcdef
-  paramdeffloat parameternumber/parameter/paramdef
+  funcdeffloat functionfloor/function/funcdef
+  paramdeffloat parametervalue/parameter/paramdef
  /funcprototype
 /funcsynopsis
 simpara
- parameternumber/parameter から最も近い最小の整数の値を返しま
- す。整数値に functionfloor/function 
を使うことは全くの時間の
- 無駄です。
+ 
+parametervalue/parameterから最も近い最小の整数の値を返します。
+ functionfloor/functionの返り値は、typefloat/type型のまま
+ となります。これは、typefloat/typeの範囲はtypeint/typeよ
+ りも広いためです。
 /simpara
-note
- para
-  PHP/FI 2 での 
functionfloor/functionは浮動点整数値を返します。
-  literal$new = (double)floor($number);/literal のようにするこ
-  とで従来と同じ結果を得られます。
- /para
-/note
 simpara
  functionceil/function と functionround/function も参照下
  さい。
Index: phpdoc/ja/functions/oci8.xml
diff -u phpdoc/ja/functions/oci8.xml:1.12 phpdoc/ja/functions/oci8.xml:1.13
--- phpdoc/ja/functions/oci8.xml:1.12   Fri Mar  9 07:33:03 2001
+++ phpdoc/ja/functions/oci8.xmlSat May  5 22:22:49 2001
@@ -1558,16 +1558,16 @@
  /example
 /para
 simpara
-  functionOCINumCols/function, functionOCIColumnName/function, 
+ functionOCINumCols/function, functionOCIColumnName/function, 
  functionOCIColumnSize/function も参照下さい。
 /simpara
/refsect1
   /refentry
-
+  
   refentry id=function.ociparse
refnamediv
 refnameOCIParse/refname
-refpurposeクエリーを処理し、文を返す/refpurpose
+

Re: [PHP-DOC] cvs: phpdoc /en/functions math.xml pgsql.xml session.xml strings.xml

2001-05-02 Thread Martin Samesch

Hi Hartmut,

Hartmut Holzgraefe wrote:
 
 hholzgraTue May  1 09:20:52 2001 EDT
 
   Modified files:
 /phpdoc/en/functionsmath.xml pgsql.xml session.xml strings.xml
   Log:
   floor/ceil return type was not up to the code

There are some characters (and maybe whole paragraphs?) in session.xml
and strings.xml, that obviously don't belong there. Probably they were
added by cvs due to a version conflict. Could you please check this?

Cheers,
Martin



[PHP-DOC] cvs: phpdoc /en/functions math.xml pgsql.xml session.xml strings.xml

2001-05-01 Thread Hartmut Holzgraefe

hholzgraTue May  1 09:20:52 2001 EDT

  Modified files:  
/phpdoc/en/functionsmath.xml pgsql.xml session.xml strings.xml 
  Log:
  floor/ceil return type was not up to the code
  
  

Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.23 phpdoc/en/functions/math.xml:1.24
--- phpdoc/en/functions/math.xml:1.23   Fri Jan  5 09:35:57 2001
+++ phpdoc/en/functions/math.xmlTue May  1 09:20:51 2001
@@ -138,7 +138,9 @@
 /funcsynopsis
 para
  Returns the absolute value of number.  If the argument number is
- float, return type is also float, otherwise it is int.
+ of type typefloat/type, the return type is also typefloat/type, 
+ otherwise it is typeint/type (as typefloat/type usually has a
+ bigger value range than typeint/type).
 /para
/refsect1
   /refentry
@@ -314,25 +316,16 @@
 titleDescription/title
 funcsynopsis
  funcprototype
-  funcdefint functionceil/function/funcdef
-  paramdeffloat parameternumber/parameter/paramdef
+  funcdeffloat functionceil/function/funcdef
+  paramdeffloat parametervalue/parameter/paramdef
  /funcprototype
 /funcsynopsis
-para
- Returns the next highest integer value from
- parameternumber/parameter. Using functionceil/function
- on integers is absolutely a waste of time.
- informalexample
-  programlisting role=php
-$x = ceil(4.25); 
-//  which would make $x=5
-  /programlisting
- /informalexample
-/para
 simpara
- NOTE: PHP/FI 2's functionceil/function returned a
- float. Use: literal$new = (double)ceil($number);/literal to
- get the old behaviour.
+ Returns the next highest integer value by rounding up 
+ parametervalue/parameter if necessary. 
+ The return value of functionceil/function is still of type
+ typefloat/type as the value range of typefloat/type is 
+ usually bigger than that of typeint/type.
 /simpara
 simpara
  See also functionfloor/function and
@@ -491,19 +484,16 @@
 titleDescription/title
 funcsynopsis
  funcprototype
-  funcdefint functionfloor/function/funcdef
-  paramdeffloat parameternumber/parameter/paramdef
+  funcdeffloat functionfloor/function/funcdef
+  paramdeffloat parametervalue/parameter/paramdef
  /funcprototype
 /funcsynopsis
-simpara
- Returns the next lowest integer value from
- parameternumber/parameter. Using functionfloor/function
- on integers is absolutely a waste of time.
-/simpara
 simpara
- NOTE: PHP/FI 2's functionfloor/function returned a
- float. Use: literal$new = (double)floor($number);/literal to
- get the old behaviour.
+ Returns the next lowest integer value by rounding down
+ parametervalue/parameter if neccessary. 
+ The return value of functionceil/function is still of type
+ typefloat/type as the value range of typefloat/type is 
+ usually bigger than that of typeint/type.
 /simpara
 simpara
  See also functionceil/function and
@@ -1026,12 +1016,12 @@
   /programlisting
  /informalexample
 /para
-   note
-simpara 
-   The parameterprecision/parameter parameter is only
-   available in PHP 4. 
-/simpara
-   /note
+note
+ simpara 
+  The parameterprecision/parameter parameter is only
+  available in PHP 4. 
+ /simpara
+/note
 simpara
  See also functionceil/function and
  functionfloor/function.
Index: phpdoc/en/functions/pgsql.xml
diff -u phpdoc/en/functions/pgsql.xml:1.30 phpdoc/en/functions/pgsql.xml:1.31
--- phpdoc/en/functions/pgsql.xml:1.30  Sat Feb 24 17:20:18 2001
+++ phpdoc/en/functions/pgsql.xml   Tue May  1 09:20:51 2001
@@ -40,6 +40,7 @@
/row
row
entrypostmaster -i amp;/entry
+!--   entrypg_connect(, , , , dbname);/entry --
entrypg_connect(dbname=MyDbName);/entry
entryOK/entry
/row
@@ -171,6 +172,27 @@
refsect1
 titleDescription/title
 funcsynopsis
+ funcprototype
+  funcdefint functionpg_connect/function/funcdef
+  paramdefstring parameterhost/parameter/paramdef
+  paramdefstring parameterport/parameter/paramdef
+  paramdefstring parameterdbname/parameter/paramdef
+ /funcprototype
+ funcprototype
+  funcdefint functionpg_connect/function/funcdef
+  paramdefstring parameterhost/parameter/paramdef
+  paramdefstring parameterport/parameter/paramdef
+  paramdefstring parameteroptions/parameter/paramdef
+  paramdefstring parameterdbname/parameter/paramdef
+ /funcprototype
+ funcprototype
+  funcdefint functionpg_connect/function/funcdef
+  paramdefstring parameterhost/parameter/paramdef
+  paramdefstring parameterport/parameter/paramdef
+  paramdefstring parameteroptions/parameter/paramdef
+  paramdefstring 

[PHP-DOC] cvs: phpdoc /kr/functions math.xml

2001-03-15 Thread cycle98

cycle98 Thu Mar 15 16:08:21 2001 EDT

  Modified files:  
/phpdoc/kr/functionsmath.xml 
  Log:
  misspelled word fixed by Lee S.H.
  
  
Index: phpdoc/kr/functions/math.xml
diff -u phpdoc/kr/functions/math.xml:1.4 phpdoc/kr/functions/math.xml:1.5
--- phpdoc/kr/functions/math.xml:1.4Fri Feb  2 18:25:49 2001
+++ phpdoc/kr/functions/math.xmlThu Mar 15 16:08:21 2001
@@ -155,7 +155,7 @@
/funcprototype
/funcsynopsis
para
-   parameterarg/parameter의 아크 코사인(Arc 
cosine) 값을 라디인으로 반환한다.
+   parameterarg/parameter의 아크 코사인(Arc 
+cosine) 값을 라디안으로 반환한다.
 /para
para
functionasin/function 그리고 
functionatan/function을 참고하라.
@@ -178,7 +178,7 @@
/funcprototype
/funcsynopsis
para
-   parameterarg/parameter의 아크 사인(Arc sine) 
라디인으로 값을 반환한다.
+   parameterarg/parameter의 아크 사인(Arc sine) 
+라디안으로 값을 반환한다.
 /para
para
functionacos/function 그리고 
functionatan/function을 참고하라.
@@ -201,7 +201,7 @@
/funcprototype
/funcsynopsis
para
-   parameterarg/parameter의 아크 탄젠트(Arc 
tangent)값을 라디인으로 반환한다.
+   parameterarg/parameter의 아크 탄젠트(Arc 
+tangent)값을 라디안으로 반환한다.
 /para
para
functionasin/function 그리고 
functionacos/function을 참고하라.
@@ -787,7 +787,7 @@
/funcprototype
/funcsynopsis
para
-   parameterseed/parameter로 난수 발생기를 심는다.
+   parameterseed/parameter로 난수 발생기를 
+심는다.
  informalexample
programlisting role="php"
 // seed with microseconds since last "whole" second
@@ -797,7 +797,7 @@
/informalexample
/para
simpara
-  functionmt_rand/function,
+   functionmt_rand/function,
  functionmt_getrandmax/function, functionsrand/function,
  functionrand/function, 그리고
  functiongetrandmax/function를 참고하라.
@@ -1013,7 +1013,7 @@
  /para
/note
simpara
- functionsrand/function,
+   functionsrand/function,
  functiongetrandmax/function, functionmt_rand/function,
  functionmt_srand/function, 그리고
  functionmt_getrandmax/function를 참고하라.
@@ -1123,7 +1123,7 @@
/funcprototype
/funcsynopsis
para
-   parameterseed/parameter로 난수발생기를 심는다.
+   parameterseed/parameter로 난수발생기를 
+심는다.
  informalexample
programlisting role="php"
 // seed with microseconds since last "whole" second
@@ -1133,7 +1133,7 @@
/informalexample
/para
simpara
- functionrand/function,
+   functionrand/function,
  functiongetrandmax/function, functionmt_rand/function,
  functionmt_srand/function, 그리고
  functionmt_getrandmax/function를 참고하라.
@@ -1159,7 +1159,7 @@
arg의 탄젠트 값을 라디안으로 반환한다.
 /para
para
- functionsin/function and functioncos/function을 참고하라.
+   functionsin/function and 
+functioncos/function을 참고하라.
 /para
/refsect1
/refentry