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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,319c841368a8705a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-09 13:07:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: float problem Date: 9 Jul 2002 13:07:21 -0700 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0207091207.15616f11@posting.google.com> References: <4519e058.0207090536.55f497f0@posting.google.com> NNTP-Posting-Host: 205.232.38.14 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1026245241 21871 127.0.0.1 (9 Jul 2002 20:07:21 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 9 Jul 2002 20:07:21 GMT Xref: archiver1.google.com comp.lang.ada:26979 Date: 2002-07-09T20:07:21+00:00 List-Id: dennison@telepath.com (Ted Dennison) wrote in message news:<4519e058.0207090536.55f497f0@posting.google.com>... > Some compilers will do that if you convert the floating-point value > into a fixed-point value (eg: Duration), and dispaly that. This is a bizarre and misleading answer. The semantics of conversion from float to fixed and the semantics for display of fixed point compilers is precisely defined, there is no room for "some compilers" to do something different from other compilers here. Furthermore, this makes no sense. If you want to format your float output a certain way, use the parameters provided to Put for this purpose, there is absolutely no sense in going through fixed point.