TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Monospaced Font
Show HTML Part by Default
Condense Mail Headers

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

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
X-To: Mephisto <[log in to unmask]>
Date: Thu, 30 Aug 2001 16:24:18 -0500
Reply-To: "David C. Hoos, Sr." <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="iso-8859-1"
From: "David C. Hoos, Sr." <[log in to unmask]>
Parts/Attachments: 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: http://mephisto.arfstudios.org
> Join the Arf!Studios label!!!
>

ATOM RSS1 RSS2