void TruncAndFrac(TOpenCLValue TruncDst, TOpenCLValue FracDst)
Rounds a real number towards zero and returns the fractional part.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | TruncDst | TOpenCLValue | source TOpenCLValue |
| 2 | FracDst | TOpenCLValue | source TOpenCLValue |
Result: stored in self (calling object)
Remarks:
Rounds calling object value towards zero to an integer and stores the result in the TruncDst object as a floating point number. The fractional part is stored in the FracDst.
See Also: clValue.Frac, clValue.Round