Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleAvailability

This routine is available starting with SIL Engineā„¢ 2.5.

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

exp(number)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Returns e raised to the power of number.

Returns e raised to the power of number. The constant e equals 2.71828182845904, the base of the natural logarithm.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

number

Number

Yes

Exponent applied to the base e.

Return

...

Type

...

Number

Example

Code Block
number a = exp(1);
print("a= " + a);

number b = exp(2);
print("b= " + b);

number c = exp(-2);
print("c= " + c);

number d = exp(0); 
print("d= " + d);

Prints:

...

a=

...

2.71828182845904 ;

...

b= 7.38905609893065 ;

...

c= 0.1353352832366127;

...

d= 1;

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "math_routines" and space = currentSpace ( )
labels

...

array_routines