Files
doc-fr/reference/math/functions/log.xml
Yannick Torres 464c003d1c synch with EN Revision
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@157848 c90b9560-bf6c-de11-be94-00142212c4b1
2004-05-03 15:11:46 +00:00

62 lines
1.8 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready -->
<refentry id="function.log">
<refnamediv>
<refname>log</refname>
<refpurpose>Logarithme naturel (népérien)</refpurpose>
</refnamediv>
<refsect1>
<title>Description</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>
<function>log</function> retourne le logarithme naturel
(ou népérien) de <parameter>arg</parameter>.
Si le paramètre optionnel <parameter>base</parameter> est
spécifié, <function>log</function> retourn alors le
logarithme en base <parameter>base</parameter>.
</para>
<note>
<para>
Le paramètre <parameter>base</parameter> a été ajouté en
&php; version 4.3.0.
</para>
</note>
<para>
Vous pouvez toujours calculer le logarithme en base <literal>b</literal>
d'un nombre <literal>n</literal>, en utilisant la formule ;
<literal>logb(n) = log(n)/log(b)</literal>, où <literal>log</literal>
est le logarithme naturel ou népérien.
</para>
<para>
Voir aussi
<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:"../../../../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
-->