clValue.Exp2 Method

function Exp2(const X: TOpenCLValue): TOpenCLValue;

Exponent base 2 (2^X).

#NameTypeDescription
1XTOpenCLValue

Returns: TOpenCLValue

Remarks:

Calculate the exponent base 2 (2^X).

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