TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Proportional Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
"David C. Hoos, Sr." <[log in to unmask]>
Thu, 30 Aug 2001 16:24:18 -0500
text/plain (33 lines)
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:
> Join the Arf!Studios label!!!