cortesi Mon Dec 17 09:45:03 2001 EDT
Modified files:
/phpdoc/it Translators
/phpdoc/it/functions dir.xml math.xml
Log:
in sync with EN tree
Index: phpdoc/it/Translators
diff -u phpdoc/it/Translators:1.116 phpdoc/it/Translators:1.117
--- phpdoc/it/Translators:1.116 Mon Dec 17 08:42:25 2001
+++ phpdoc/it/Translators Mon Dec 17 09:45:02 2001
@@ -104,7 +104,7 @@
dbm.xml
dbplus.xml
dbx.xml
-dir.xml cortesi T1.26
+dir.xml cortesi T1.28
domxml.xml
errorfunc.xml
exec.xml giacomo T1.22
@@ -131,7 +131,7 @@
java.xml
ldap.xml sartorelli A
mail.xml fabio T1.15
-math.xml cortesi T1.59
+math.xml cortesi T1.63
mbstring.xml
mcal.xml
mcrypt.xml
@@ -175,7 +175,7 @@
url.xml benni A1.19
var.xml marchesini T1.23
wddx.xml
-xml.xml milanesi A
+xml.xml
xslt.xml marchesini A1.24
yaz.xml
zip.xml
Index: phpdoc/it/functions/dir.xml
diff -u phpdoc/it/functions/dir.xml:1.11 phpdoc/it/functions/dir.xml:1.12
--- phpdoc/it/functions/dir.xml:1.11 Wed Dec 12 15:51:51 2001
+++ phpdoc/it/functions/dir.xml Mon Dec 17 09:45:03 2001
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.26 Maintainer: cortesi Status: ready -->
+<!-- EN-Revision: 1.28 Maintainer: cortesi Status: ready -->
<reference id="ref.dir">
<title>Funzioni per le directory</title>
<titleabbrev>Directory</titleabbrev>
@@ -80,28 +80,34 @@
</funcsynopsis>
<para>
Un meccanismo pseudo orientato agli oggetti per leggere una directory. La
- <parameter>directory</parameter> data è aperta. Due proprietà
- sono disponibili nonappena la directory è stata aperta. La
+ <parameter>directory</parameter> data � aperta. Due proprietà
+ sono disponibili nonappena la directory � stata aperta. La
proprietà handle può essere usata in congiunzione ad altre
funzioni relative alle directory, quali
<function>readdir</function>, <function>rewinddir</function> e
- <function>closedir</function>. La proprietà path è impostata alla
- directory che è stata aperta. Sono disponibili tre metodi:
+ <function>closedir</function>. La propriet� path � impostata alla
+ directory che � stata aperta. Sono disponibili tre metodi:
read (leggi), rewind (riavvolgi) e close (chiudi).
<example>
<title>esempio <function>dir</function></title>
<programlisting role="php">
<![CDATA[
$d = dir("/etc");
-echo "Handle: ".$d->handle."<br>\n";
-echo "Path: ".$d->path."<br>\n";
+echo "Handle: ".$d->handle."<br>\n";
+echo "Path: ".$d->path."<br>\n";
while ($entry = $d->read()) {
- echo $entry."<br>\n";
+ echo $entry."<br>\n";
}
$d->close();
]]>
</programlisting>
</example>
</para>
+ <note>
+ <para>
+ L'ordine nel quale vengono restituiti i dati dal metodo read � dipendente
+ dal sistema usato.
+ </para>
+ </note>
</refsect1>
</refentry>
Index: phpdoc/it/functions/math.xml
diff -u phpdoc/it/functions/math.xml:1.18 phpdoc/it/functions/math.xml:1.19
--- phpdoc/it/functions/math.xml:1.18 Wed Dec 12 15:51:54 2001
+++ phpdoc/it/functions/math.xml Mon Dec 17 09:45:03 2001
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.59 Maintainer: cortesi Status: ready -->
+<!-- EN-Revision: 1.63 Maintainer: cortesi Status: ready -->
<reference id="ref.math">
<title>Funzioni Matematiche</title>
<titleabbrev>Mat</titleabbrev>
@@ -585,6 +585,29 @@
</refsect1>
</refentry>
+ <refentry id='function.expm1'>
+ <refnamediv>
+ <refname>expm1</refname>
+ <refpurpose>
+ Restituisce exp(numero) - 1, computato in maniera tale da essere accurato anche
+se
+ il valore del numero � vicino a zero
+ </refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>float <function>expm1</function></funcdef>
+ <paramdef>float <parameter>number</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ &warn.experimental.func;
+ <para>
+ &warn.undocumented.func;
+ </para>
+ </refsect1>
+ </refentry>
+
<refentry id="function.floor">
<refnamediv>
<refname>floor</refname>
@@ -605,6 +628,15 @@
<type>float</type>, poiché la gamma di valori del tipo <type>float</type>
è
solitamente più grande di quella del tipo <type>int</type>.
</simpara>
+ <example>
+ <title>Esempi di <function>floor</function></title>
+ <programlisting role="php">
+<![CDATA[
+$quattro = floor(4.3); // $quattro = 4.0;
+$nove = floor(9.999); // $nove = 9.0;
+]]>
+ </programlisting>
+ </example>
<simpara>
Vedere anche <function>ceil</function>
e <function>round</function>.
@@ -681,6 +713,29 @@
</refsect1>
</refentry>
+ <refentry id='function.hypot'>
+ <refnamediv>
+ <refname>hypot</refname>
+ <refpurpose>
+ Restituisce sqrt( num1*num1 + num2*num2)
+ </refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Descrizione</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>float <function>hypot</function></funcdef>
+ <paramdef>float <parameter>num1</parameter></paramdef>
+ <paramdef>float <parameter>num2</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ &warn.experimental.func;
+ <para>
+ &warn.undocumented.func;
+ </para>
+ </refsect1>
+ </refentry>
+
<refentry id="function.lcg-value">
<refnamediv>
<refname>lcg_value</refname>
@@ -737,6 +792,29 @@
</funcsynopsis>
<para>
Restituisce il logaritmo in base-10 di <parameter>arg</parameter>.
+ </para>
+ </refsect1>
+ </refentry>
+
+ <refentry id='function.log1p'>
+ <refnamediv>
+ <refname>log1p</refname>
+ <refpurpose>
+ Restituisce log(1 + numero), computato in maniera tale da essere accurato anche
+se
+ il valore del numero � vicino a zero
+ </refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>float <function>log1p</function></funcdef>
+ <paramdef>float <parameter>number</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ &warn.experimental.func;
+ <para>
+ &warn.undocumented.func;
</para>
</refsect1>
</refentry>