Sign in Join
FPDoc Onlineexperiment

TExtendedHelper helper

In unit sysutils

Helper for Extended floating point type.

Declaration

pascal
TExtendedHelper = class

Description

TExtendedHelper is the helper type for the Extended-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 Extended.

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

ToStringpublicConvert a Extended-sized floating point value to a string.
ParsepublicConvert a string to a floating point value.
TryParsepublicTry to convert a string to a Extended-sized floating point value.
IsNanpublicCheck whether a value equals NaN.
IsInfinitypublicCheck whether a value is positive or negative infinity.
IsNegativeInfinitypublicCheck whether a value is negative infinity.
IsPositiveInfinitypublicCheck whether a value is positive infinity.
SizepublicSize (in bytes) of a Extended-sized floating point value.
BuildUppublicBuild a Extended-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 Extended-sized floating point value.

Types and constants

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

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