DEVELOPMENT EDITION · 769442725406
Library Reference
On this page

Ada.Numerics.Big_Numbers

Shared numeric-formatting bound names.

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

Declares the Field and Number_Base subtypes.

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 Ada.Numerics.Big_Numbers;
import Ada.Numerics.Big_Numbers;

A Vibe module imports this unit's names with from Ada.Numerics.Big_Numbers 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

Field (declaration) — Formatting width subtype 0 .. Integer'Last; its existence does not add parameters or overloads absent from the supplied API.

Declared interface:

subtype Field is Integer range 0 .. Integer'Last;

API 002

Number_Base (declaration) — Formatting base subtype 2..16; its existence does not add parameters or overloads absent from the supplied API.

Declared interface:

subtype Number_Base is Integer range 2 .. 16;