vipsi - the friendly vip script interpreter

Functions

Numeric functions

logn

<number> = Numeric functions: lognlogn ( <base>, <number> )

Calculate Flow control: if … then
Flow control: try … then
the
logarithm of <number> to <base> which must be a numeric Glossary: Valuevalue too.

Flow control: if … then
Flow control: try … then
The
Integer numbers: Base 256base must Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
be 0 Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
Flow control: if … then
Flow control: try … then
the
result will be 'unlimited' Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
Flow control: if … then
Flow control: try … then
the
Glossary: number, num_valnumber must Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
be 1 Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
Flow control: if … then
Flow control: try … then
the
Flow control: if … then
Flow control: try … then
the
result will be 'NaN'.

e.g.:

vipsi> Numeric functions: lognlogn(16,256)  = 2
vipsi> Numeric functions: lognlogn(10,999)  = 2.999565488226
vipsi>  

Valid HTML   Valid CSS