The Conroy & Conroy Subroutine Library (2021.3 edition)

TCOM_Generic_Number
What: class TCommon_COM_Interface
File: _GenVal
Layer: 0
Platforms: C++, Pascal (D2)

This is the abstract base class for representing numeric values. The methods are all stdcall.

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.