e32math.h File Reference

const TInt KMaxPrecision

const TInt KMaxPrecision

const TInt KPrecisionLimit

const TInt KPrecisionLimit

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 TInt KIEEEDoubleInjectivePrecision

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 TInt KMantissaBits

const TInt KMaxExponent

const TInt KMaxExponent

const TInt KExponentBias

const TInt KExponentBias

const TInt KSpecialExponent

const TInt KSpecialExponent

const TInt KTReal32MaxExponent

const TInt KTReal32MaxExponent

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

const TInt KTReal32MinExponent

const TInt KTReal32MinExponent

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

const TInt KTReal32ExponentBias

const TInt KTReal32ExponentBias

const TInt KTReal32SpecialExponent

const TInt KTReal32SpecialExponent

const TInt KTReal32ZeroExponent

const TInt KTReal32ZeroExponent

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

const TInt KTReal64MaxExponent

const TInt KTReal64MaxExponent

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

const TInt KTReal64MinExponent

const TInt KTReal64MinExponent

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

const TInt KTReal64ExponentBias

const TInt KTReal64ExponentBias

const TInt KTReal64SpecialExponent

const TInt KTReal64SpecialExponent

const TInt KTReal64ZeroExponent

const TInt KTReal64ZeroExponent

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

const TReal KMinTReal

const TReal KMinTReal

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

const TReal KMaxTReal

const TReal KMaxTReal

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

const TReal32 KMinTReal32

const TReal32 KMinTReal32

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

const TReal32 KMaxTReal32

const TReal32 KMaxTReal32

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

const TReal64 KMinTReal64

const TReal64 KMinTReal64

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

const TReal64 KMaxTReal64

const TReal64 KMaxTReal64

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

const TReal KSqhf

const TReal KSqhf

const TReal KRln2

const TReal KRln2

Log 2 to the base "e".

const TReal KRln10

const TReal KRln10

Log 10 to the base "e".

const TReal KRlg2

const TReal KRlg2

Log 2 to the base 10.

const TReal KPi

const TReal KPi

The mathematical constant Pi.

const TReal KPiInv

const TReal KPiInv

The reciprocal of the mathematical constant Pi.

const TReal KPiBy2

const TReal KPiBy2

The mathematical constant Pi divided by 2.

const TReal KDrpi

const TReal KDrpi

Not used.

const TReal KSqt3

const TReal KSqt3

The square root of 3.

const TReal KMsq3

const TReal KMsq3

const TReal KRadToDeg

const TReal KRadToDeg

The multiplying factor to convert radians to degrees.

const TReal KDegToRad

const TReal KDegToRad

The multiplying factor to convert degrees to radians.