Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!think!barmar From: barmar@think.COM (Barry Margolin) Newsgroups: comp.lang.c Subject: Re: IEEE floating point format Message-ID: <25988@news.Think.COM> Date: 7 Aug 89 02:57:27 GMT References: <2170002@hpldsla.HP.COM> <9697@alice.UUCP> <3554@buengc.BU.EDU> <3591@buengc.BU.EDU> <9740@alice.UUCP> Sender: news@Think.COM Reply-To: barmar@kulla.UUCP (Barry Margolin) Organization: Thinking Machines Corporation, Cambridge MA, USA Lines: 26 In article <9740@alice.UUCP> ark@alice.UUCP (Andrew Koenig) writes: >I don't see, though, why you describe denormalized numbers as `the >loss of precision'. Compared with the alternative, it's a gain in >precision. After all, the only other thing you could do would be >to underflow to 0, which would lose all precision. Denormalized numbers have less precision than normalized numbers. In a denormalized number, the leading zero bits of the mantissa don't contribute to the precision of the number. You are confusing accuracy with precision. Think back to your high school and college science course, where you had to write the precision of experimental results explicitly. When you write 1.3, it implies that you only had two digits of precision (and you might write 1.3+/-.05); however, if you use a high-precision device you might measure something as 1.3000, which is +/-.00005. Precision, therefore, is the number of significant digits you are sure of. A denormalized number is more accurate than underflowing to zero, but it isn't necessarily more precise than zero. Barry Margolin Thinking Machines Corp. barmar@think.com {uunet,harvard}!think!barmar