Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void FloatTo24Bit(int n, DewArray<float> &Src, intPtr Dst, TRounding Rounding = TRounding::rnRound); | Convert single precision to 24 bit signed integer. |
| 2 | void FloatTo24Bit(int n, DewArray<double> &Src, intPtr Dst, TRounding Rounding = TRounding::rnRound); | Convert double precision to 24 bit signed integer. |
Overload 1: void FloatTo24Bit(int n, DewArray<float> &Src, intPtr Dst, TRounding Rounding = TRounding::rnRound);
Convert single precision to 24 bit signed integer.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | n | int | |
| 2 | Src | DewArray<float> & | |
| 3 | Dst | intPtr | |
| 4 | Rounding = TRounding::rnRound | TRounding |
Remarks:
Convert single precision to 24 bit signed integer. The n parameter defines the number of elements to convert. Src is an array of single precision elements and Dst is a pointer to a byte array. Rounding parameter defines the rounding type used.
See Also: MtxVecUtils::Bit24ToFloat
Declared in Dew::Math::Units::MtxVecUtils · Dew.Math/Units.MtxVecUtils.h · Cross-compiler
Overload 2: void FloatTo24Bit(int n, DewArray<double> &Src, intPtr Dst, TRounding Rounding = TRounding::rnRound);
Convert double precision to 24 bit signed integer.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | n | int | |
| 2 | Src | DewArray<double> & | |
| 3 | Dst | intPtr | |
| 4 | Rounding = TRounding::rnRound | TRounding |
Remarks:
Convert double precision to 24 bit signed integer. The n parameter defines the number of elements to convert. Src is an array of double precision elements and Dst is a pointer to a byte array. Rounding parameter defines the rounding type used.
See Also: MtxVecUtils::Bit24ToFloat
Declared in Dew::Math::Units::MtxVecUtils · Dew.Math/Units.MtxVecUtils.h · Cross-compiler