array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.exp.php', 1 => 'exp', 2 => 'Calculates the exponent of e', ), 'up' => array ( 0 => 'ref.math.php', 1 => 'Math İşlevleri', ), 'prev' => array ( 0 => 'function.deg2rad.php', 1 => 'deg2rad', ), 'next' => array ( 0 => 'function.expm1.php', 1 => 'expm1', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/math/functions/exp.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

exp

(PHP 4, PHP 5, PHP 7, PHP 8)

expCalculates the exponent of e

Açıklama

exp(float $num): float

Returns e raised to the power of num.

Bilginize:

'e' is the base of the natural system of logarithms, or approximately 2.718282.

Bağımsız Değişkenler

num

The argument to process

Dönen Değerler

'e' raised to the power of num

Örnekler

Örnek 1 exp() example

<?php
echo exp(12), PHP_EOL;
echo
exp(5.7);
?>

Yukarıdaki örneğin çıktısı:

162754.791419
298.86740096706

Ayrıca Bakınız