e32math.h File Reference

#include <e32math.h>

KMaxPrecision

const TIntKMaxPrecision

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.

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.

KMantissaBits

const TIntKMantissaBits

KMaxExponent

const TIntKMaxExponent

KExponentBias

const TIntKExponentBias

KSpecialExponent

const TIntKSpecialExponent

KTReal32MaxExponent

const TIntKTReal32MaxExponent

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

KTReal32MinExponent

const TIntKTReal32MinExponent

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

KTReal32ExponentBias

const TIntKTReal32ExponentBias

KTReal32SpecialExponent

const TIntKTReal32SpecialExponent

KTReal32ZeroExponent

const TIntKTReal32ZeroExponent

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

KTReal64MaxExponent

const TIntKTReal64MaxExponent

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

KTReal64MinExponent

const TIntKTReal64MinExponent

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

KTReal64ExponentBias

const TIntKTReal64ExponentBias

KTReal64SpecialExponent

const TIntKTReal64SpecialExponent

KTReal64ZeroExponent

const TIntKTReal64ZeroExponent

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

KMinTReal

const TRealKMinTReal

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

KMaxTReal

const TRealKMaxTReal

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

KMinTReal32

const TReal32KMinTReal32

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

KMaxTReal32

const TReal32KMaxTReal32

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

KMinTReal64

const TReal64KMinTReal64

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

KMaxTReal64

const TReal64KMaxTReal64

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

KSqhf

const TRealKSqhf

KRln2

const TRealKRln2

Log 2 to the base "e".

KRln10

const TRealKRln10

Log 10 to the base "e".

KRlg2

const TRealKRlg2

Log 2 to the base 10.

KPi

const TRealKPi

The mathematical constant Pi.

KPiInv

const TRealKPiInv

The reciprocal of the mathematical constant Pi.

KPiBy2

const TRealKPiBy2

The mathematical constant Pi divided by 2.

KDrpi

const TRealKDrpi

Not used.

KSqt3

const TRealKSqt3

The square root of 3.

KMsq3

const TRealKMsq3

KRadToDeg

const TRealKRadToDeg

The multiplying factor to convert radians to degrees.

KDegToRad

const TRealKDegToRad

The multiplying factor to convert degrees to radians.