e32math.h File Reference

const TInt KMaxPrecision

const TIntKMaxPrecision

const TInt KPrecisionLimit

const TIntKPrecisionLimit

This constant specifies the maximum number of significant digits available with floating point computations. Rounding and string formatting methods will not use more digits than this.

const TInt KIEEEDoubleInjectivePrecision

const TIntKIEEEDoubleInjectivePrecision

Let D be the set of real numbers exactly representable by an IEEE-754 'double' For any positive integer n let X_n be the set of real numbers with an exact decimal representation using n significant digits. Let r_n : D -> X_n be defined by r_n(x)=y such that |y-x| = inf { |z-x| : z in X_n } and (in the case where two such y exist) that the last significant digit in the decimal representation of y is even. This constant is the least n such that r_n is injective.

const TInt KMantissaBits

const TIntKMantissaBits

const TInt KMaxExponent

const TIntKMaxExponent

const TInt KExponentBias

const TIntKExponentBias

const TInt KSpecialExponent

const TIntKSpecialExponent

const TInt KTReal32MaxExponent

const TIntKTReal32MaxExponent

The maximum exponent for a 32-bit floating point number.

const TInt KTReal32MinExponent

const TIntKTReal32MinExponent

The minimum exponent for a 32-bit floating point number.

const TInt KTReal32ExponentBias

const TIntKTReal32ExponentBias

const TInt KTReal32SpecialExponent

const TIntKTReal32SpecialExponent

const TInt KTReal32ZeroExponent

const TIntKTReal32ZeroExponent

A zero exponent value for a 32-bit floating point number.

const TInt KTReal64MaxExponent

const TIntKTReal64MaxExponent

The maximum exponent for a 64-bit floating point number.

const TInt KTReal64MinExponent

const TIntKTReal64MinExponent

The minimum exponent for a 64-bit floating point number.

const TInt KTReal64ExponentBias

const TIntKTReal64ExponentBias

const TInt KTReal64SpecialExponent

const TIntKTReal64SpecialExponent

const TInt KTReal64ZeroExponent

const TIntKTReal64ZeroExponent

A zero exponent value for a 64-bit floating point number.

const TReal KMinTReal

const TRealKMinTReal

The minimum value of a 64-bit floating point number.

const TReal KMaxTReal

const TRealKMaxTReal

The maximum value of a 64-bit floating point number.

const TReal32 KMinTReal32

const TReal32KMinTReal32

The minimum value of a 32-bit floating point number.

const TReal32 KMaxTReal32

const TReal32KMaxTReal32

The maximum value of a 32-bit floating point number.

const TReal64 KMinTReal64

const TReal64KMinTReal64

The minimum value of a 64-bit floating point number.

const TReal64 KMaxTReal64

const TReal64KMaxTReal64

The maximum value of a 64-bit floating point number.

const TReal KSqhf

const TRealKSqhf

const TReal KRln2

const TRealKRln2

Log 2 to the base "e".

const TReal KRln10

const TRealKRln10

Log 10 to the base "e".

const TReal KRlg2

const TRealKRlg2

Log 2 to the base 10.

const TReal KPi

const TRealKPi

The mathematical constant Pi.

const TReal KPiInv

const TRealKPiInv

The reciprocal of the mathematical constant Pi.

const TReal KPiBy2

const TRealKPiBy2

The mathematical constant Pi divided by 2.

const TReal KDrpi

const TRealKDrpi

Not used.

const TReal KSqt3

const TRealKSqt3

The square root of 3.

const TReal KMsq3

const TRealKMsq3

const TReal KRadToDeg

const TRealKRadToDeg

The multiplying factor to convert radians to degrees.

const TReal KDegToRad

const TRealKDegToRad

The multiplying factor to convert degrees to radians.