Log2 |
Top Previous Next |
Prototype
OutValue:=log2 (InInput)
Description
Return logarithm two base.
Parameters
InInput: numeric value corresponding to input number.
Returned Value
OutValue: numeric value corresponding to logarithm two base
Notes
None.
Esempio
// Inizialize X variable X:=3;
//Calculate logarithm Y:=log2(X);
//Log output value ApplicationLog('Logarithm of '+Inttostr(X)+' is: '+FloatToStr(Y)); |