Date: 01/15/02
- Next message: Simone Cortesi: "[PHP-DOC] cvs: phpdoc /it/functions mail.xml"
- Previous message: Simone Cortesi: "[PHP-DOC] cvs: phpdoc /it language-defs.ent"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
cortesi Tue Jan 15 10:15:54 2002 EDT
Modified files:
/phpdoc/it/functions math.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.xml Tue 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">
<title>Funzioni Matematiche</title>
<titleabbrev>Mat</titleabbrev>
@@ -118,8 +118,8 @@
</tbody>
</tgroup>
</table>
- Soltanto M_PI è 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 <type>float</type>
+ e ha precisione secondo la
+ direttiva <link linkend="ini.precision">precision</link> del file
+ <filename>php.ini</filename>, che ha come valore predefinito <literal>14</literal>.
+ Inoltre, si può usare la costante <constant>M_PI</constant> che permette di ottenere
+ risultati identici all'uso di <function>pi</function>.
</simpara>
<para>
<informalexample>
<programlisting>
<![CDATA[
-echo pi();
-// stamperà 3.1415926535898
+echo pi(); // 3.1415926535898
+echo M_PI; // 3.1415926535898
]]>
</programlisting>
</informalexample>
- Next message: Simone Cortesi: "[PHP-DOC] cvs: phpdoc /it/functions mail.xml"
- Previous message: Simone Cortesi: "[PHP-DOC] cvs: phpdoc /it language-defs.ent"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

