comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: precise floats
Date: 1998/08/04
Date: 1998-08-04T00:00:00+00:00	[thread overview]
Message-ID: <im$L#2$v9GA.205@samson.airnet.net> (raw)
In-Reply-To: 6q7vtb$jk$1@heliodor.xara.net


Bob Fletcher wrote in message <6q7vtb$jk$1@heliodor.xara.net>...
>What is the best way to define a float type that has greater precision,
>(like a lot greater), than the default one? Is there a simple way to do
>this?
Well, whether it's simple depends on several things, e.g.:

    About what platform do you speak?
    Which compiler?
    How much is a _lot_ more?

For example, for some platform/compiler combinations, IEEE 32-bit floats are
the default Float type, while Long_Float is IEEE 64-bit.  Is 64-bit a _lot_
more than 32?

If you want something more than what is supported by the hardware, then it
certainly is no longer simple.  I don't know whether there are any arbitrary
precision Ada packages around.

David C. Hoos, Sr.







  parent reply	other threads:[~1998-08-04  0:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-04  0:00 precise floats Bob Fletcher
1998-08-04  0:00 ` Christopher Green
1998-08-04  0:00 ` David C. Hoos, Sr. [this message]
1998-08-05  0:00   ` Bob Fletcher
1998-08-04  0:00 ` Corey Ashford
1998-08-04  0:00   ` Corey Ashford
1998-08-05  0:00     ` Frank Klemm
1998-08-06  0:00       ` Robert Dewar
1998-08-06  0:00         ` dennison
1998-08-07  0:00           ` paul.english
1998-08-08  0:00             ` Robert Dewar
1998-08-12  0:00               ` Kevin Radke
1998-08-25  0:00               ` Gene Ouye
1998-08-10  0:00             ` dennison
1998-08-07  0:00           ` Robert Dewar
1998-08-07  0:00         ` Tom Weis
1998-08-07  0:00           ` Robert Dewar
1998-08-05  0:00 ` Matthew Heaney
1998-08-09  0:00 ` Bob Fletcher
  -- strict thread matches above, loose matches on Subject: below --
1998-08-06  0:00 Robert Dewar
1998-08-06  0:00 ` Corey Ashford
1998-08-06  0:00 ` Samuel Mize
1998-08-07  0:00   ` Matthew Heaney
1998-08-07  0:00     ` Robert Dewar
replies disabled

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