DEVELOPMENT EDITION · 769442725406
Library Reference
On this page

Package System

Verada predefined library: package System (Ada RM 13.7), for a 64-bit target. An address is a number of storage units. The named numbers state Verada's own limits: the integer types go to 128 bits (Long_Long_Long_Integer), a modulus to 2 ** 128, a floating-point type to IEEE binary64's 15 digits, an ordinary fixed-point value to 64 bits.

Name

type Name is (Verada);

System_Name

System_Name : constant Name := Verada;

Min_Int

Min_Int : constant := Long_Long_Long_Integer'First;

the bounds of the predefined integer types: Long_Long_Long_Integer's

Max_Int

Max_Int : constant := Long_Long_Long_Integer'Last;

Max_Binary_Modulus

Max_Binary_Modulus : constant := 2 ** 128;

the largest modulus of a modular type, and of one whose modulus is not a power of two

Max_Nonbinary_Modulus

Max_Nonbinary_Modulus : constant := 2 ** 64 - 1;

Max_Base_Digits

Max_Base_Digits : constant := 15;

the most digits of a floating-point type, with or without a range (binary64)

Max_Digits

Max_Digits : constant := 15;

Max_Mantissa

Max_Mantissa : constant := 63;

the binary digits of an ordinary fixed-point value, and the finest delta of one whose range is -1.0 .. 1.0

Fine_Delta

Fine_Delta : constant := 2.0 ** (-63);

Tick

Tick : constant := 0.000_000_001;

the clock's step, in seconds: Ada.Real_Time's nanosecond

Storage_Unit

Storage_Unit : constant := 8;

Word_Size

Word_Size : constant := 64;

Memory_Size

Memory_Size : constant := 2 ** 64;

Address

type Address is mod Memory_Size;

Null_Address

Null_Address : constant Address := 0;

Bit_Order

type Bit_Order is (High_Order_First, Low_Order_First);

the order of bits in a storage unit (RM 13.5.3): this target's is little-endian

Default_Bit_Order

Default_Bit_Order : constant Bit_Order := Low_Order_First;

Any_Priority

subtype Any_Priority is Integer range 0 .. 98;

priorities (RM D.1), as GNAT's on this target

Priority

subtype Priority is Any_Priority range 0 .. 97;

Interrupt_Priority

subtype Interrupt_Priority is Any_Priority range 98 .. 98;

Default_Priority

Default_Priority : constant Priority := 48;