Well, if you instantiate the package with a floating point or
fixed point type, the values would be 0.0 and 1.0, and if you
instantiate the package with an integer type the values would
be 0 and 1.


----- Original Message -----
From: "Mephisto" <[log in to unmask]>
To: <[log in to unmask]>
Sent: August 28, 2001 10:01 AM
Subject: Type Attributes


> Hi I look for methods to get the unit and the zero value of a specified
> integer or real type.
> I have to use a generic package from a library which needs that
> this is the specification:
>
> generic
>    type NUMBER is private;
>    zero_number: NUMBER;
>    unit_number: NUMBER;
>    ....
>
> I tried to find attributs in ADA reference manual but I found nothing.
> Can you help me please?
>
>                                  Mephisto/Anta Tribe^Arf!Studios
>
> Mephisto 's homepage: http://mephisto.arfstudios.org
> Join the Arf!Studios label!!!
>