1
0
mirror of https://github.com/php/doc-it.git synced 2026-03-24 07:32:12 +01:00
Files
Richard Quadling 3438a32516 Reencode XML to UTF-8
git-svn-id: https://svn.php.net/repository/phpdoc/it/trunk@314550 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-08 16:24:18 +00:00

59 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- EN-Revision: n/a Maintainer: cortesi Status: ready -->
<refentry xml:id="function.log" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>log</refname>
<refpurpose>Logaritmo naturale</refpurpose>
</refnamediv>
<refsect1>
<title>Descrizione</title>
<methodsynopsis>
<type>float</type><methodname>log</methodname>
<methodparam><type>float</type><parameter>arg</parameter></methodparam>
<methodparam choice="opt"><type>float</type><parameter>base</parameter></methodparam>
</methodsynopsis>
<para>
Se si specifica il parametro opzionale <parameter>base</parameter>,
la funzione <function>log</function> restituisce log<subscript>base</subscript>
<parameter>arg</parameter>, altrimenti <function>log</function>
il logaritmo naturale di <parameter>arg</parameter>.
</para>
<note>
<para>
Il parametro <parameter>base</parameter> è disponibile
dalla versione 4.3.0 di PHP.
</para>
<para>
Si può comunque calcolare il logaritmo in base <literal>b</literal>
di un numero <literal>n</literal>, usando la formula matematica:
log<subscript>b</subscript>(n) = log(n)/log(b), dove log è il logaritmo
neperiano (o naturale).
</para>
</note>
<para>
Vedere anche <function>exp</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
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:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->