array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'function.expm1.php', 1 => 'expm1', ), 'up' => array ( 0 => 'ref.math.php', 1 => 'Mathematische Funktionen', ), 'prev' => array ( 0 => 'function.exp.php', 1 => 'exp', ), 'next' => array ( 0 => 'function.fdiv.php', 1 => 'fdiv', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'de', 'path' => 'reference/math/functions/expm1.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)
expm1 —
Berechnet exp(Zahl) - 1
mit guter Genauigkeit, auch wenn Zahl
nahe bei Null liegt
expm1() gibt das Äquivalent zu
exp($
zurück, das so berechnet
wird, dass es auch dann genau ist, wenn num
) - 1num
sehr
nahe bei Null liegt. In solchen Fällen würde exp() auf
Grund mangelnder Präzision gerundet eins zurückgeben und das Gesamtergebnis
von exp($
wäre einfach Null.
num
) - 1
num
Der zu verarbeitende Wert.
e
hoch num
minus eins.