The Conroy & Conroy Subroutine Library (2021.3 edition)

TGeneric_Number
What: class TDelphi_Object
File: _GenVal
Layer: 0
Platforms: C++, C#, Javascript, Pascal (Delphi), PHP, Python

This is the abstract base class for representing numeric values.

Exponent_Size
int32 Exponent_Size()
function Exponent_Size : longint
Returns the number of bits, for Floating types (0 for non-floating).

Fractional_Size
int32 Fractional_Size()
function Fractional_Size : longint
Returns the number of bits, for fixed-point types (0 for non-fixed).

Fixed
bool Fixed()
function Fixed : boolean
Returns True if integer or fixed length real.

Mantissa_Size
int32 Mantissa_Size()
function Mantissa_Size : longint
Returns the number of bits, for Floating types.

Signed
bool Signed()
function Signed : boolean
Returns true if the value is signed.