From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,91965a012526b259 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Float to String Date: Wed, 10 Nov 2004 15:35:50 +0100 Message-ID: <1tsvgp5gtndaa.1i38f5weywbxk$.dlg@40tude.net> References: <526nxsbun7e2.1n5a4jpe7u7ww$.dlg@40tude.net> <87bre63qh3.fsf@beeblebrox.rfc1149.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de ryzWQ3F294jKSEWfC1hhtwKKU4/c7D85sP/vWM39DFXrIW8A4= User-Agent: 40tude_Dialog/2.0.12.1 Xref: g2news1.google.com comp.lang.ada:6114 Date: 2004-11-10T15:35:50+01:00 List-Id: On 10 Nov 2004 12:15:04 +0100, Samuel Tardieu wrote: >>>>>> "Dmitry" == Dmitry A Kazakov writes: > > Dmitry> T�Machine_Radix is not necessarily 2. So abstractedly, 2 is > Dmitry> not any better than 10, 60 or whatsoever. Though in most cases > Dmitry> it would do the trick. > > Even using T'Machine_Radix doesn't give you a guarantee that you will > be able to read the value back on another machine with a different > 'Machine_Radix. > > Each time I read a thread like that, I remember why I really don't > like floating point values :) It is rather people who are trying to use floating point numbers for things better be implemented in other numeric model. We should not blame floating point numbers for that. (:-)) I had funny talks with non-Ada folks, wondering why Ada has so many different types of numbers. Because we need all of them! -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de