4.9.2 Exponential functions

to the power of

pow( base, exponent ) // = base ^ exponent

Example:
pow( 2, 3 ) // returns 8
pow( 5, 4 ) // returns 625


square

sqr( x ) // = square of x

Example:
sqr( 2 ) // returns 4
sqr( -5 ) // returns 25

more about sqr( x )


square root

sqrt( x ) // = square root of x

Example:
sqrt( 4 ) // returns 2
sqrt( 0.25 ) // returns 0.5

more about sqrt( x )


natural logarithm

log( x ) // = natural logarithm of x

Example:
log( 2.71828175 ) // returns 1
log( 4 ) // returns 1.38629436

more about log( x )


base 10 logarithm

log10( x ) // = logarithm of base 10

Example:
log10( 10 ) // returns 1
log10( 100 ) // returns 2

more about log10( x )


exponential

exp( x ) // = e ^ x (2.71828 ^ x)

Example:
exp( 1 ) // returns e which is 2.71828175
exp( 0 ) // returns 1

more about exp( x )

Xpressionist 3.5