-
-
Notifications
You must be signed in to change notification settings - Fork 19
exp
Vašek edited this page Jan 13, 2019
·
7 revisions
This function will return Euler's Number power n-times
exp(n)| Argument | Description |
|---|---|
double n |
The power of e |
Returns: double
This is function e power n, where e is Euler's Number - approximately 2.718281828 and n is the number of times e will multiply itself. So the function exp(2) is equal to e*e.
double value;
value = exp(5);This function will set value to 148,41316.
double value;
value = exp(-2);This function will set value to 0,135336.
Back to number_functions