Sign in Join
FPDoc Onlineexperiment

TDoubleHelper helper

In unit sysutils

Helper for Double floating point type.

Declaration

pascal
TDoubleHelper = class

Descends from it: TRealHelper

Description

TDoubleHelper is the helper type for the Double-sized floating point type. It contains some conversion methods, as well as access to the low-level structure of the floating-point representation of a Double.

See also

Properties

BytespublicIndexed access to the individual bytes of the floating point value.
WordspublicIndexed access to the words that make up the floating point value.
SignpublicSign of the floating point value.
ExppublicThe bit pattern of the exponent as stored in memory.
FracpublicBitpattern that makes up the fractional part.

Methods

IsInfinitypublicCheck whether a value is positive or negative infinity.
IsNanpublicCheck whether a value equals NaN.
IsNegativeInfinitypublicCheck whether a value is negative infinity.
IsPositiveInfinitypublicCheck whether a value is positive infinity.
ParsepublicConvert a string to a floating point value.
SizepublicSize (in bytes) of a Double-sized floating point value.
ToStringpublicConvert a Double-sized floating point value to a string.
TryParsepublicTry to convert a string to a Double-sized floating point value.
BuildUppublicBuild a Double-sized floating point from its composing parts.
ExponentpublicExponent of the floating-point value.
FractionpublicFraction of the floating-point value.
MantissapublicMantissa of the floating-point.
SpecialTypepublicReturn the type of the Double-sized floating point value.

Types and constants

EpsilonpublicPrecision for this floating point type.
MachineEpsilonpublic
MaxValuepublicLargest possible value for the Double floating point type.
MinValuepublicSmallest (negative) possible value for the Double floating point type.
PositiveInfinitypublicPositive infinity as represented by a Double floating point type.
NegativeInfinitypublicNegative infinity as represented by a Double floating point type.
NaNpublicRepresentation of NaN (Not a Number).

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.