SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND


[globals]
Template Struct Traits<Platform::Float>

NonConstructibleType
   |
   +-FloatingPointType
        |
        +-Traits<Platform::Float>

Implemented in:
Traits.Float.h

template <>
struct Traits<Platform::Float>:
public FloatingPointType

Float type traits.

See Also:
Traits

Inner Compounds, Typedefs, and Enumscollapse
union Parcel
          Provides access to individual parts (bits) within a floating-point number.

Inner Compounds, Typedefs, and Enums inherited from struct FloatingPointTypecollapse
HasNothrowAssign, HasNothrowConstructor, HasNothrowCopy, HasTrivialAssign, HasTrivialConstructor, HasTrivialCopy, HasTrivialDestructor, IsAGP, IsBoolean, IsCharacter, IsFloatingPoint, IsFundamental, IsIntegral, IsPOD, IsSigned, IsTextual, IsUnsigned, IsVoid

Method Summarycollapse
static Platform::Float epsilonValue()
          Retrieves the smallest positive value that is greater than zero for type Double.
static Platform::Float eValue()
          Retrieves the value of constant E for type Float.
static Platform::Float infinityValue()
          Retrieves the value of positive infinity for type Float.
static Platform::Float maxValue()
          Retrieves the largest possible value for type Float.
static Platform::Float minValue()
          Retrieves the smallest possible value for type Float.
static Platform::Float oneValue()
          Retrieves the value of constant 1 (one) for type Float.
static Platform::Float piValue()
          Retrieves the value of constant PI for type Float.
static Platform::Float quietNaNValue()
          Retrieves a quiet NaN (Not-a-Number) value for type Float.
static Platform::Float roundingValue()
          Retrieves the smallest positive rounding value for type Double.
static Platform::Float signalingNaNValue()
          Retrieves a signaling NaN (Not-a-Number) value for type Float.
static Platform::Float zeroValue()
          Retrieves the value of constant 0 (zero) for type Float.

Methods inherited from struct FloatingPointTypecollapse
compare, compare, deepSizeOf, equal, equal, exchange, hashCodeOf, isInfinity, isNaN, toString, toXml, typeName

 

Method Detail

epsilonValue[nothrow, inline]

static Platform::Float epsilonValue()

Retrieves the smallest positive value that is greater than zero for type Double.

Returns:
a constant value 1.192092896e-007f

eValue[nothrow, inline]

static Platform::Float eValue()

Retrieves the value of constant E for type Float.

Returns:
a constant value, approximately 2.7182818284590452

infinityValue[nothrow, inline]

static Platform::Float infinityValue()

Retrieves the value of positive infinity for type Float.

Returns:
a constant value +Infinity

maxValue[nothrow, inline]

static Platform::Float maxValue()

Retrieves the largest possible value for type Float.

Returns:
a constant value 3.402823466e+038f

minValue[nothrow, inline]

static Platform::Float minValue()

Retrieves the smallest possible value for type Float.

Returns:
a constant value 1.175494351e-038f

oneValue[nothrow, inline]

static Platform::Float oneValue()

Retrieves the value of constant 1 (one) for type Float.

Returns:
a constant value 1.0

piValue[nothrow, inline]

static Platform::Float piValue()

Retrieves the value of constant PI for type Float.

Returns:
a constant value, approximately 3.1415926535897932

quietNaNValue[nothrow, inline]

static Platform::Float quietNaNValue()

Retrieves a quiet NaN (Not-a-Number) value for type Float.

Returns:
a constant value QNAN

roundingValue[nothrow, inline]

static Platform::Float roundingValue()

Retrieves the smallest positive rounding value for type Double.

Returns:
a constant value 0.5f

signalingNaNValue[nothrow, inline]

static Platform::Float signalingNaNValue()

Retrieves a signaling NaN (Not-a-Number) value for type Float.

Returns:
a constant value SNAN

zeroValue[nothrow, inline]

static Platform::Float zeroValue()

Retrieves the value of constant 0 (zero) for type Float.

Returns:
a constant value 0.0


SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND