On this page
System
The 64-bit target's limits and storage/address/priority constants (RM 13.7).
Read the family guide for representation, selection and resource rules. The complete declaration page retains exact signatures/contracts; the source specification is the implementation baseline.
Availability and ownership
The named numbers state Verada's limits: Min_Int and Max_Int are Long_Long_Long_Integer's bounds; a modulus is at most 2 ** 128, one that is not a power of two at most 2 ** 64 - 1; a floating-point type has at most 15 digits; an ordinary fixed-point value has 63 binary digits; Tick is a nanosecond. Priorities are checked when the program is compiled (ceilings, B3021); at run time tasks run at the operating system's ordinary priority. Address is a number: arithmetic on it does not map or check memory.
A client proof uses these contracts without proving the body again (see library assurance). Global => null excludes package-global effects, not changes made through an in out argument.
Import and instantiate
with System;import System;
A Vibe module imports this unit's names with from System import Name; see library use across syntaxes. In Varc, keep each name's declared spelling and write & on arguments the call changes.
Contract and lifecycle reading
A Pre condition is the caller's obligation; a Post is what a normal return guarantees. What a postcondition does not state, a client cannot assume. Ghost functions are for contracts and ghost code. The family guide describes copying, lifetime, order and cost.
API 001
Declared interface:
type Name is (Verada);API 002
Declared interface:
System_Name : constant Name := Verada;API 003
Min_Int (declaration) — The bounds of the predefined integer types: Long_Long_Long_Integer's.
Declared interface:
Min_Int : constant := Long_Long_Long_Integer'First;API 004
Max_Int (declaration) — The bounds of the predefined integer types: Long_Long_Long_Integer's.
Declared interface:
Max_Int : constant := Long_Long_Long_Integer'Last;API 005
Max_Binary_Modulus (declaration) — The largest modulus of a modular type, and of one whose modulus is not a power of two.
Declared interface:
Max_Binary_Modulus : constant := 2 ** 128;API 006
Max_Nonbinary_Modulus (declaration) — The largest modulus of a modular type, and of one whose modulus is not a power of two.
Declared interface:
Max_Nonbinary_Modulus : constant := 2 ** 64 - 1;API 007
Max_Base_Digits (declaration) — The most digits of a floating-point type, with or without a range (binary64)
Declared interface:
Max_Base_Digits : constant := 15;API 008
Max_Digits (declaration) — The most digits of a floating-point type, with or without a range (binary64)
Declared interface:
Max_Digits : constant := 15;API 009
Max_Mantissa (declaration) — The binary digits of an ordinary fixed-point value, and the finest delta of one whose range is -1.0 .. 1.0.
Declared interface:
Max_Mantissa : constant := 63;API 010
Fine_Delta (declaration) — The binary digits of an ordinary fixed-point value, and the finest delta of one whose range is -1.0 .. 1.0.
Declared interface:
Fine_Delta : constant := 2.0 ** (-63);API 011
Tick (declaration) — The clock's step, in seconds: Ada.Real_Time's nanosecond.
Declared interface:
Tick : constant := 0.000_000_001;API 012
Storage_Unit (declaration) — Eight bits per storage unit.
Declared interface:
Storage_Unit : constant := 8;API 013
Word_Size (declaration) — The supplied target word size of 64 bits.
Declared interface:
Word_Size : constant := 64;API 014
Memory_Size (declaration) — The numeric modular address-space size 2**64; this does not mean that much memory is mapped.
Declared interface:
Memory_Size : constant := 2 ** 64;API 015
Address (declaration) — Modular 64-bit numeric address representation; possession of a number does not validate mapped memory, alignment, pointee type or ownership.
Declared interface:
type Address is mod Memory_Size;API 016
Null_Address (declaration) — Numeric address zero; not a usable allocated pointee.
Declared interface:
Null_Address : constant Address := 0;API 017
Bit_Order (declaration) — The order of bits in a storage unit (RM 13.5.3): this target's is little-endian.
Declared interface:
type Bit_Order is (High_Order_First, Low_Order_First);API 018
Default_Bit_Order (declaration) — The order of bits in a storage unit (RM 13.5.3): this target's is little-endian.
Declared interface:
Default_Bit_Order : constant Bit_Order := Low_Order_First;API 019
Any_Priority (declaration) — Priority subtype with the bounds below, checked when the program is compiled.
Declared interface:
subtype Any_Priority is Integer range 0 .. 98;API 020
Priority (declaration) — Priority subtype with the bounds below, checked when the program is compiled.
Declared interface:
subtype Priority is Any_Priority range 0 .. 97;API 021
Interrupt_Priority (declaration) — Priority subtype with the bounds below, checked when the program is compiled.
Declared interface:
subtype Interrupt_Priority is Any_Priority range 98 .. 98;API 022
Default_Priority (declaration) — Default analysis priority 48; no runtime real-time scheduling guarantee follows.
Declared interface:
Default_Priority : constant Priority := 48;