<number> = Numeric functions: log Numeric functions: loge Instructions: loglog ( <base>, <number> )
Calculate Flow control: if … then Flow control: try … thenthe logarithm of <number> to <base> which must be a numeric Glossary: Valuevalue too.
Flow control: if … then Flow control: try … thenThe 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 … thenthe 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 … thenthe 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 … thenthe Flow control: if … then Flow control: try … thenthe result will be 'NaN'.
e.g.:
vipsi> logn(16,256) = 2
vipsi> logn(10,999) = 2.999565488226
vipsi>
Numeric functions: log Numeric functions: loge Instructions: loglog is used as an Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction which prints it's Vipsi command syntax: Arguments Glossary: Argumentsarguments to Constants: stderrstderr Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and as a Vipsi command syntax: Functions Functions Glossary: Functionfunction to calculate Flow control: if … then Flow control: try … thenthe logarithm of any Glossary: number, num_valnumber to any Integer numbers: Base 256base. Flow control: if … then Flow control: try … thenThe meaning depends on Flow control: if … then Flow control: try … thenthe place where Numeric functions: log Numeric functions: loge Instructions: loglog is encountered. Flow control: if … thenIf it occurs Operators: Make Identifier "@"at Flow control: if … then Flow control: try … thenthe place of an Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction Flow control: if … then Flow control: try … thenthen it is Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction Numeric functions: log Numeric functions: loge Instructions: loglog which prints it Vipsi command syntax: Arguments Glossary: Argumentsarguments to Constants: stderrstderr. Flow control: if … thenIf it occurs Operators: Make Identifier "@"at Flow control: if … then Flow control: try … thenthe place of an Vipsi command syntax: Expressions Glossary: Expressionexpression Flow control: if … then Flow control: try … thenthen it is Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Functions Functions Glossary: Functionfunction Numeric functions: log Numeric functions: loge Instructions: loglog.
Flow control: if … then Flow control: try … thenThe only place where List functions: thisthis may lead to confusion is Flow control: if … then Flow control: try … thenthe vipsi shell: Operators: Make Identifier "@"At Flow control: if … then Flow control: try … thenthe start of Flow control: if … then Flow control: try … thenthe command line Flow control: if … then Flow control: try … thenthe parser expects an Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction. For your convenience it is also possible to just type an Vipsi command syntax: Expressions Glossary: Expressionexpression Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and Flow control: if … then Flow control: try … thenthe shell will print Flow control: if … then Flow control: try … thenthe result. Thus Flow control: if … thenif you just type in
Numeric functions: log Numeric functions: loge Instructions: loglog(2,8)
to see what Flow control: if … then Flow control: try … thenthe logarithm of 8 to Integer numbers: Base 256base 2 is, Flow control: if … then Flow control: try … thenthen Flow control: if … then Flow control: try … thenthe List functions: words Shell Immediate Commands: wordsword Numeric functions: log Numeric functions: loge Instructions: loglog stands Operators: Make Identifier "@"at Flow control: if … then Flow control: try … thenthe position of an Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and should be handled as Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction Numeric functions: log Numeric functions: loge Instructions: loglog.
As of version 0.8.8 Flow control: if … then Flow control: try … thenthe shell has some automagic intelligence to detect List functions: thisthis. Flow control: if … thenIf a command line starts with Numeric functions: log Numeric functions: loge Instructions: loglog Flow control: if … then Flow control: try … thenthen Flow control: if … then Flow control: try … thenthe shell inspects Flow control: if … then Flow control: try … thenthe Flow control: nextnext token. Flow control: if … thenIf it is an opening Separators: Round brackets "( … )" Functions with varying return types: bracket expression "()"parenthesis ( Flow control: if … then Flow control: try … thenthen Flow control: if … then Flow control: try … thenthe shell defaults to an Vipsi command syntax: Expressions Glossary: Expressionexpression Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and Numeric functions: log Numeric functions: loge Instructions: loglog will be handled as Flow control: if … then Flow control: try … thenthe logarithm Vipsi command syntax: Functions Functions Glossary: Functionfunction. List functions: thisThis is done by silently putting a Instructions: putput Vipsi command syntax: Instructions Instructions Glossary: Instructioninstruction in front of Numeric functions: log Numeric functions: loge Instructions: loglog Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and Flow control: if … then Flow control: try … thenthe printed result is Operators: Bitwise Not "~" Operators: Boolean Negation "!"not always identical to what would be printed Flow control: if … thenif it was evaluated as an Vipsi command syntax: Expressions Glossary: Expressionexpression without glue.
|