From: anon@anon.org (anon)
Subject: Re: Question about Float
Date: Mon, 03 Dec 2007 12:53:23 GMT
Date: 2007-12-03T12:53:23+00:00 [thread overview]
Message-ID: <7%S4j.194608$kj1.117511@bgtnsc04-news.ops.worldnet.att.net> (raw)
In-Reply-To: f3c0fcc4-3ed2-45aa-8810-2223cbc50dd5@s36g2000prg.googlegroups.com
For default see package "Standard.ads"
In GNAT this package is built into the compiler
but you can use command:
gnat standard >standard.ads
then edit or print the file: "standard.ads"
As for Intel x86, GNAT uses:
Float => 32 bits
Long_Float => 64 bits
Long_Long_Float => 96 bits (fpu based)
In <f3c0fcc4-3ed2-45aa-8810-2223cbc50dd5@s36g2000prg.googlegroups.com>, axtens <Bruce.Axtens@gmail.com> writes:
>G'day everyone,
>
>What is the size/precision of a Float in Ada? Under GNAT/GCC it
>appears to be equivalent to a VB6 Single. Under ObjectAda is appears
>to be a full 8 byter, similar to VB6's Double. But is it?
>
>I'm confused.
>
>Kind regards,
>Bruce.
next prev parent reply other threads:[~2007-12-03 12:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-03 10:03 Question about Float axtens
2007-12-03 10:18 ` Ludovic Brenta
2007-12-03 11:23 ` Martin
2007-12-04 9:31 ` Georg Bauhaus
2007-12-05 5:47 ` axtens
2007-12-07 10:38 ` amado.alves
2007-12-03 12:53 ` anon [this message]
2007-12-04 3:22 ` axtens
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox