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,df84b868ad64e4f7 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 01 Aug 2005 11:58:59 -0500 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: OT: definition of "significant figures" References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Mon, 01 Aug 2005 11:58:59 -0500 NNTP-Posting-Host: 24.6.143.98 X-Trace: sv3-W53TshOUYLmL6VUNbLA9B7GdthFVHlqakaZC1hjAmyIluYc1n1Bg+088bVguK0LZYL3mnB3ZHv3vLzj!QP1ocgg7soiWbL6C0xXhXNwCJeUGwmiS8KFaTB7We7BNl2NjBiQ4WCu0WwTZbN6GELbmSI0qs74= X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.lang.ada:3876 Date: 2005-08-01T11:58:59-05:00 List-Id: oops, > Digit_Count := Integer(Long_Float'ceiling(Log(Abs(Avg),10.0))) > -Integer(Log(Sd,10.0)); should be Digit_Count := Integer(1.0+Long_Float'floor(Log(Abs(Avg),10.0))) -Integer(Log(Sd,10.0));