Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Vašek edited this page Jan 15, 2019 · 3 revisions

ln

This function will return natural logarithm of the input value

Syntax:

ln(n)
Argument Description
double n The value to make a natural logarithm of

Returns: double

Description:

This function returns how many times does the Euler's Number (approximately 2.718281828) have to be multiplied by itself to equal to n. It's an opposite function to function exp(n), it means that - ln(exp(n)) = n.

Example:

double value;
value = ln(5);

This function sets value to 1.609438.

Back to number_functions

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /