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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b5627b980414da76 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-03-20 01:05:00 PST Path: nntp.gmd.de!stern.fokus.gmd.de!ceres.fokus.gmd.de!zib-berlin.de!news.mathworks.com!uunet!in1.uu.net!maple.enet.net!usenet From: dkurfis@enet.net Newsgroups: comp.lang.ada Subject: Re: Higher precision and generics Date: Mon, 20 Mar 95 01:05:00 PST Organization: Self Distribution: world Message-ID: <3kjgo8$fg1@maple.enet.net> References: <3jsnbf$ido@nef.ens.fr> <795197606snz@linkmsd.com> <3k6ljm$bhp@nef.ens.fr> <3kbhv0$jcl@maple.enet.net> Reply-To: dkurfis@enet.net NNTP-Posting-Host: dkurfis.enet.net Mime-Version: 1.0 X-Newsreader: WinVN 0.93.02 Date: 1995-03-20T01:05:00-08:00 List-Id: To anyone confused by my previous post: Earlier today, Keith Thompson pointed out that my interpretation of the "digits" part of a floating-point type definition was incorrect. Keith is absolutely right. My interpretation has always been "digits to the right of the decimal point". The correct interpretation renders much of my previous post meaningless. I've been stewing over this today, wondering how I could have made such a gross error all these years. Since I'm still using Ada83, I still use MIL-STD-1815A as my primary reference. Paragraph 3.5.7, part 6, states that the static expression for digits "...is the minimum number of decimal digits required after the point in the decimal mantissa...". What I (obviously) failed to notice when I learned the language several years ago is that the previous paragraph had defined "mantissa" to be normalized. When I saw this today, I realized where my error came from. Anyway, I hope this didn't cause anyone too much confusion, and I want to thank Keith Thompson for pointing out my error. This is exactly what I expect this forum to be all about, even if I'm the one being corrected. Thanks. Dan Kurfis