TOpenCLValue.Log2 Method

function Log2(const X: TOpenCLValue): TOpenCLValue;

Log base 2.

#NameTypeDescription
1XTOpenCLValue

Returns: TOpenCLValue

Remarks:

Calculate the log base 2 of X.

Examples
var a,b: clValue;
begin
    b.Copy(8);
    a.Log2(b);
end;
See Also: TOpenCLValue.Exp2