comp.lang.ada
 help / color / mirror / Atom feed
From: Ada novice <ycalleecharan@gmx.com>
Subject: Re: understanding floating point types
Date: Sun, 22 Aug 2010 11:49:07 -0700 (PDT)
Date: 2010-08-22T11:49:07-07:00	[thread overview]
Message-ID: <c166fc8d-d025-488c-acc9-fe4a689e6563@j8g2000yqd.googlegroups.com> (raw)
In-Reply-To: op.vhunv7xaxmjfy8@garhos

On Aug 22, 7:22 pm, Yannick Duchêne (Hibou57)
<yannick_duch...@yahoo.fr> wrote:
> Le Sun, 22 Aug 2010 15:57:42 +0200, Dmitry A. Kazakov  
> <mail...@dmitry-kazakov.de> a écrit:>> Thanks. The Float'Machine_Mantissa remains constant in your examples
> >> with 1 and 2 precision digits. Is the Float'Machine_Mantissa a
> >> predefined value that is constant for any precision digit requested?
>
> > No, it is the is best fitting machine number available (compiler's  
> > choice):
>
> Yes, because it would be too much expensive to create a custom float  
> representation to save a few bits. It would even requires to redefine all  
> operations (a kind of FPU emulation, like the one Pascal did for old  
> i386/i486).

Yes. Thanks for this information.

YC



      reply	other threads:[~2010-08-22 18:49 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-22  9:11 understanding floating point types Ada novice
2010-08-22  9:51 ` Dmitry A. Kazakov
2010-08-22 10:37   ` Ada novice
2010-08-22 10:39     ` Ada novice
2010-08-22 13:57     ` Dmitry A. Kazakov
2010-08-22 17:15       ` Ada novice
2010-08-22 18:16         ` Dmitry A. Kazakov
2010-08-22 19:05           ` Ada novice
2010-08-22 19:34             ` Dmitry A. Kazakov
2010-08-23  6:29               ` Ada novice
2010-08-23  6:40                 ` J-P. Rosen
2010-08-23  7:13                 ` Dmitry A. Kazakov
2010-08-23  7:15             ` Martin
2010-08-23 11:42               ` Ada novice
2010-08-24 12:14                 ` Ada novice
2010-08-24 14:05                   ` Jacob Sparre Andersen
2010-08-24 14:36                     ` Ada novice
2010-08-22 17:22       ` Yannick Duchêne (Hibou57)
2010-08-22 18:49         ` Ada novice [this message]
replies disabled

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