vipsi - the friendly vip script interpreter

Functions

Numeric functions

exp

mber> = Numeric functions: exp
Numeric functions: expe
exp
( <base>, <number> )

Calculate <base> raised to Flow control: if … then
Flow control: try … then
the
power of <number>.

Flow control: returnReturns a numeric Glossary: Valuevalue.

Integer numbers: Base 256Base Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
Glossary: number, num_valnumber must be numeric Glossary: Valuevalues, both may be fractional. Flow control: if … then
Flow control: try … then
The
exponent <number> may be positive, 0 Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
negative. Flow control: if … then
Flow control: try … then
The
Integer numbers: Base 256base must be positive Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
0, Flow control: if … then
Flow control: try … then
else
Flow control: if … then
Flow control: try … then
the
result will be nan.

e.g.

vipsi> Numeric functions: exp
Numeric functions: expe
exp
(16,2)
= 256 vipsi>

Valid HTML   Valid CSS