function Exp2(const X: TOpenCLValue): TOpenCLValue;
Exponent base 2 (2^).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLValue |
Returns: TOpenCLValue
Remarks:
Calculate the exponent base 2 of X ( 2^X).
Examples
var a,b: TOpenCLValue;
begin
CreateIt(a,b);
try
b.Copy(8);
a.Exp2(b);
finally
FreeIt(a,b);
end;
end;
See Also: TOpenCLValue.Log2