comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon.j.wright@mac.com>
Subject: Re: ObjectAda and Long_Long_Float
Date: Fri, 07 Dec 2007 06:45:22 +0000
Date: 2007-12-07T06:45:22+00:00	[thread overview]
Message-ID: <m2wsrrhukd.fsf@mac.com> (raw)
In-Reply-To: fe3733ee-8da4-44b5-8164-812ad107ba57@v4g2000hsf.googlegroups.com

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 <an Ada source file>

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).



  reply	other threads:[~2007-12-07  6:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-05  9:27 ObjectAda and Long_Long_Float axtens
2007-12-05 11:24 ` Martin Krischik
2007-12-05 11:30 ` petter_fryklund
2007-12-07  6:45   ` Simon Wright [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-12-05 11:15 Grein, Christoph (Fa. ESG)
2007-12-05 11:39 Grein, Christoph (Fa. ESG)
2007-12-05 13:12 ` axtens
2007-12-05 13:51   ` Georg Bauhaus
2007-12-05 16:17   ` Adam Beneschan
replies disabled

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