comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: understanding floating point types
Date: Sun, 22 Aug 2010 19:22:44 +0200
Date: 2010-08-22T19:22:44+02:00	[thread overview]
Message-ID: <op.vhunv7xaxmjfy8@garhos> (raw)
In-Reply-To: ghi6wajpwx2t.1u5g5erb7i1i6$.dlg@40tude.net

Le Sun, 22 Aug 2010 15:57:42 +0200, Dmitry A. Kazakov  
<mailbox@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).



  parent reply	other threads:[~2010-08-22 17:22 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) [this message]
2010-08-22 18:49         ` Ada novice
replies disabled

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