From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7a4c5d22669609bf X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!peer1.news.newnet.co.uk!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: ObjectAda and Long_Long_Float Date: Fri, 07 Dec 2007 06:45:22 +0000 Organization: Pushface Message-ID: References: <8af93665-0a66-44df-aab1-df1b20b8198c@d27g2000prf.googlegroups.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1197009923 29388 62.49.19.209 (7 Dec 2007 06:45:23 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Fri, 7 Dec 2007 06:45:23 +0000 (UTC) Cancel-Lock: sha1:H/Cus5afuiAl2OClcdUGmD17R9w= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) Xref: g2news1.google.com comp.lang.ada:18754 Date: 2007-12-07T06:45:22+00:00 List-Id: petter_fryklund@hotmail.com writes: > You can copy from Standard (readable by command gnatpsta) and make > your own declaration, or from here: > type Long_Long_Float is digits range -16#0.FFFF_FFFF_FFFF_F8#E+256 .. > 16#0.FFFF_FFFF_FFFF_F8#E+256; What's the equivalent of gnatpsta with modern GNATs? Oh! a bit of googling -- there's a flag -gnatS which prints Standard during a compilation. So gnatmake -c -u -f -gnatsS works (I also get a warning about ALI or object file not found). > I don't know why, but this is same as Long_Float where I spend my days > (Solaris). As I remember, GNAT implements Long_Long_Float in 80 bits on x86 for Windows, as in 64 bits (same as Long_Float) on PowerPC. Don't know what happens on Solaris (SPARC or x86).