comp.lang.ada
 help / color / mirror / Atom feed
From: "Scott B. Crawford 0131-314-8253" <scott.crawford@GECM.COM>
Subject: Re: HELP:Declaration in ADA?!!
Date: 1996/03/28
Date: 1996-03-28T00:00:00+00:00	[thread overview]
Message-ID: <8636481128031996/A12025/EAGLE/11A3E2F02200*@MHS> (raw)

>DOES SOMEONE KNOW HOW TO DECLARE LONG_INTEGER IN ADA?

DEC Ada, package SYSTEM includes the values of various machine constants:

        MAX_INT: constant:= 2**31-1;
        MIN_INT : constant:= -(2**31);

        type INTEGER_32 is range -2_147_483_648 .. 2_147_483_647;
        for INTEGER_32'SIZE use 32;

        type LARGEST_INTEGER is range MIN_INT .. MAX_INT;

Hope this helps.




             reply	other threads:[~1996-03-28  0:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-28  0:00 Scott B. Crawford 0131-314-8253 [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-03-25  0:00 HELP:Declaration in ADA?!! Tuyet-Tram DANG-NGOC
1996-03-25  0:00 ` Laurent Guerby
1996-03-25  0:00 ` Robert Dewar
1996-03-28  0:00 ` Ken Devlin
1996-04-08  0:00 ` Ken Devlin
1996-04-09  0:00   ` Walter B. Hollman Sr.
1996-04-09  0:00   ` Martin C. Martin
1996-04-09  0:00     ` Keith Thompson
1996-04-18  0:00     ` Daryl Siddon
1996-04-22  0:00       ` John English
1996-04-24  0:00         ` Robert Dewar
1996-03-25  0:00 tmoran
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox