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: clValue;
begin
b.Copy(8);
a.Exp2(b);
end;
See Also: TOpenCLValue.Log2