TMtxFloatPrecision Enumeration

Header: Dew.Math/Math387.h · Cross-compiler

enum class TMtxFloatPrecision : unsigned int;

Specifies MtxVec processing precision.

Selects both the floating point format of a single element and whether elements are real or complex. Switching between the real and complex form of the same format (mvSingle to mvSingleComplex, mvDouble to mvDoubleComplex) preserves the stored values; changing the format itself (single to double or back) is a conversion and requires an explicit copy.

Values

NameDescription
mvDoubleDouble precision real numbers. One element is an 8 byte float.
mvDoubleComplexDouble precision complex numbers. One element holds a real and an imaginary part, each an 8 byte float, so 16 bytes per element.
mvSingleSingle precision real numbers. One element is a 4 byte float.
mvSingleComplexSingle precision complex numbers. One element holds a real and an imaginary part, each a 4 byte float, so 8 bytes per element.