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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,219de4148f968c92 X-Google-Attributes: gid103376,public From: Mats Weber Subject: Re: Strange results with random numbers with Gnat 3.10 Date: 1998/01/08 Message-ID: <34B4F6AF.ED9567A3@elca-matrix.ch>#1/1 X-Deja-AN: 313974674 Content-Transfer-Encoding: 7bit References: <34B3F618.DC9@uppsala.mail.telia.com> <34B3FDCB.A861170@elca-matrix.ch> <34B46DA3.F65@uppsala.mail.telia.com> Mime-Version: 1.0 Reply-To: Mats.Weber@elca-matrix.ch Content-Type: text/plain; charset=us-ascii Organization: ELCA Matrix SA Newsgroups: comp.lang.ada Date: 1998-01-08T00:00:00+00:00 List-Id: > Ok, below is the program. I've double checked the code, but > maybe I'm not up to it, I can't find were the problem possibly > could be in this code. You are right, your code is correct and GNAT is wrong. in the file a-nudira.ads, the line Offs : constant Flt := RstF + 0.5; should be replaced with Offs : constant Flt := RstF - 0.5;