vipsi - the friendly vip script interpreter

Functions

Numeric functions

exp2

<number> = Numeric functions: exp2exp2 <number>
<number> = Numeric functions: exp2exp2 ( <number> )

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

Flow control: returnReturns a numeric Glossary: Valuevalue.

Flow control: if … then
Flow control: try … then
The
Glossary: number, num_valnumber may be fractional Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
negative.

As with all Vipsi command syntax: Functions
Functions
Glossary: Function
functions
which accept exactly one Vipsi command syntax: Arguments
Glossary: Arguments
argument
Flow control: if … then
Flow control: try … then
the
Separators: Round brackets "( … )"
Functions with varying return types: bracket expression "()"
parenthesis
are optional Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
may be omitted Flow control: if … then
Flow control: if … then
if the
Vipsi command syntax: Arguments
Glossary: Arguments
argument
is no Vipsi command syntax: Expressions
Glossary: Expression
expression
with Vipsi command syntax: Operators
Operators
Glossary: Operator
operators
.

e.g.

vipsi> Numeric functions: exp2exp2(3)  = 8
vipsi> Numeric functions: exp2exp2 8  = 256
vipsi>  

Valid HTML   Valid CSS