| 1 |
------------------------------------------------------------------------------ |
| 2 |
-- -- |
| 3 |
-- GNAT RUN-TIME COMPONENTS -- |
| 4 |
-- -- |
| 5 |
-- A D A . N U M E R I C S -- |
| 6 |
-- -- |
| 7 |
-- S p e c -- |
| 8 |
-- -- |
| 9 |
-- This specification is derived from the Ada Reference Manual for use with -- |
| 10 |
-- GNAT. In accordance with the copyright of that document, you can freely -- |
| 11 |
-- copy and modify this specification, provided that if you redistribute a -- |
| 12 |
-- modified version, any changes that you have made are clearly indicated. -- |
| 13 |
-- -- |
| 14 |
------------------------------------------------------------------------------ |
| 15 |
|
| 16 |
-- This package defines the base types used for big numbers in Ada as defined |
| 17 |
-- by ARM A.5.5. |
| 18 |
|
| 19 |
package Ada.Numerics.Big_Numbers |
| 20 |
with Pure |
| 21 |
is |
| 22 |
subtype Field is Integer range 0 .. 255; |
| 23 |
-- The width of a big number. This is used when converting |
| 24 |
-- the internal representation into a string. |
| 25 |
|
| 26 |
subtype Number_Base is Integer range 2 .. 16; |
| 27 |
-- The base of a big number. This is used when converting |
| 28 |
-- the internal representation into a string. |
| 29 |
|
| 30 |
end Ada.Numerics.Big_Numbers; |