void TruncAndFrac(TOpenCLValue *TruncDst, TOpenCLValue *FracDst) const;
Rounds a real number towards zero and returns the fractional part.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | TruncDst | TOpenCLValue * | |
| 2 | FracDst | TOpenCLValue * |
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
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler