TDoubleHelper helper
Helper for Double floating point type.
Declaration
TDoubleHelper = classDescends 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
Bytes | public | Indexed access to the individual bytes of the floating point value. |
Words | public | Indexed access to the words that make up the floating point value. |
Sign | public | Sign of the floating point value. |
Exp | public | The bit pattern of the exponent as stored in memory. |
Frac | public | Bitpattern that makes up the fractional part. |
Methods
IsInfinity | public | Check whether a value is positive or negative infinity. |
IsNan | public | Check whether a value equals NaN. |
IsNegativeInfinity | public | Check whether a value is negative infinity. |
IsPositiveInfinity | public | Check whether a value is positive infinity. |
Parse | public | Convert a string to a floating point value. |
Size | public | Size (in bytes) of a Double-sized floating point value. |
ToString | public | Convert a Double-sized floating point value to a string. |
TryParse | public | Try to convert a string to a Double-sized floating point value. |
BuildUp | public | Build a Double-sized floating point from its composing parts. |
Exponent | public | Exponent of the floating-point value. |
Fraction | public | Fraction of the floating-point value. |
Mantissa | public | Mantissa of the floating-point. |
SpecialType | public | Return the type of the Double-sized floating point value. |
Types and constants
Epsilon | public | Precision for this floating point type. |
MachineEpsilon | public | |
MaxValue | public | Largest possible value for the Double floating point type. |
MinValue | public | Smallest (negative) possible value for the Double floating point type. |
PositiveInfinity | public | Positive infinity as represented by a Double floating point type. |
NegativeInfinity | public | Negative infinity as represented by a Double floating point type. |
NaN | public | Representation of NaN (Not a Number). |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
