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,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.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: Thu, 28 Jul 2005 23:23:07 -0500 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: OT: definition of "significant figures" X-Newsreader: Tom's custom newsreader Message-ID: Date: Thu, 28 Jul 2005 23:23:08 -0500 NNTP-Posting-Host: 24.6.143.98 X-Trace: sv3-Mt1GeQN3WgAC/qu0aEKnFY0eXho17XemmS3Y6ZL34TG101gvFROLarafeZltvC28/Pkf4DWHV4m0c3K!ABp3vZI+24c6aBGDQcQwU+yoBIfVDFidi14mxAkAxIcxvL7gTMLyWo909C/5L335/oqbtJcqmWg= 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:3829 Date: 2005-07-28T23:23:08-05:00 List-Id: Given a set of measurements x(i), I'd like to print their average to the "correct" number of significant figures. eg 1.11, 1.12, 1.08 => "1.1", 1.11, 1.25, 1.35 => "1" I've got some adhocery that more or less does it, but is there a moderately standard, formal, definition?