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,FREEMAIL_FROM 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-08 10:20:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.vmunix.org!newsfeed.stueberl.de!newsfeed.freenet.de!news.freenet.de!not-for-mail From: Jan Prazak Subject: Re: float problem Date: Mon, 08 Jul 2002 19:20:46 -0100 Newsgroups: comp.lang.ada Message-ID: References: User-Agent: Pan/0.11.2 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=iso885915 Content-Transfer-Encoding: 8bit X-Comment-To: "Frank J. Lhota" NNTP-Posting-Host: 213.7.145.202 X-Trace: 1026148794 news.freenet.de 26990 213.7.145.202 X-Complaints-To: abuse@freenet.de Xref: archiver1.google.com comp.lang.ada:26942 Date: 2002-07-08T19:20:46-01:00 List-Id: On Sun, 07 Jul 2002 13:08:01 -0100, Frank J. Lhota wrote: > The error is small enough to > not affect the printed output, where things are rounded to six > significant digits, ... Thanks, I didn't know that procedure "put" rounds given number. I have just started to learn Ada, but I was using Pascal (and a bit Delphi) before, where there is no rounding in procedure "write". BTW: is it possible to disable the rounding in "put"? Maybe with some global boolean variable or someting (maybe a pragma).