Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void TruncAndFrac(TOpenCLBase *TruncDst, TOpenCLBase *FracDst, int TruncIdx, int FracIdx, int Index, int Len); | |
| 2 | void TruncAndFrac(TOpenCLValue *TruncDst, TOpenCLValue *FracDst); | Rounds a real number towards zero and returns the fractional part. |
Overload 1: void TruncAndFrac(TOpenCLBase *TruncDst, TOpenCLBase *FracDst, int TruncIdx, int FracIdx, int Index, int Len);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | TruncDst | TOpenCLBase * | |
| 2 | FracDst | TOpenCLBase * | |
| 3 | TruncIdx | int | |
| 4 | FracIdx | int | |
| 5 | Index | int | |
| 6 | Len | int |
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler
Overload 2: void TruncAndFrac(TOpenCLValue *TruncDst, TOpenCLValue *FracDst);
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 numbers. The fractional part is stored in the FracDst.
See Also: TOpenCLValue::Frac, TOpenCLValue::Round
Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler