php-doc-en/reference/math/functions/expm1.xml
Nuno Lopes 7d8389d5bd initial docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@169153 c90b9560-bf6c-de11-be94-00142212c4b1
2004-09-25 09:27:26 +00:00

53 lines
1.6 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.63 -->
<refentry id='function.expm1'>
<refnamediv>
<refname>expm1</refname>
<refpurpose>
Returns exp(number) - 1, computed in a way that is accurate even
when the value of number is close to zero
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>float</type><methodname>expm1</methodname>
<methodparam><type>float</type><parameter>number</parameter></methodparam>
</methodsynopsis>
&warn.experimental.func;
<para>
<function>expm1</function> returns the equivalent to
'exp(<parameter>number</parameter>) - 1' computed in a way that is
accurate even if the value of <parameter>number</parameter> is near zero,
a case where 'exp (<parameter>number</parameter>) - 1' would be
inaccurate due to subtraction of two numbers that are nearly equal.
</para>
&note.no-windows;
<para>
See also <function>log1p</function> and
<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
-->