TOpenCLValue Log2(TOpenCLValue X)
Log base 2.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLValue | source TOpenCLValue |
Returns: TOpenCLValue
Remarks:
Calculate the log base 2 of X.
Examples
clValue a;
clValue b;
b.Copy(8);
a.Log2(b);
See Also: clValue.Exp2