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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,83d2d63f98e99c58 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-14 12:13:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!firewall.mdc-dayton.COM!not-for-mail From: Vinzent Hoefler Newsgroups: comp.lang.ada Subject: Re: C to Ada conversion Date: Tue, 14 Jan 2003 15:12:14 -0500 Organization: JeLlyFish software Message-ID: References: NNTP-Posting-Host: firewall.mdc-dayton.com (12.161.103.180) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: fu-berlin.de 1042575207 21863561 12.161.103.180 (16 [175126]) X-Orig-Path: jellix.jlfencey.com!nobody X-Newsreader: KCNews v0.19b (CAOS 4.1) X-Phone: +1-937-271-7158 X-Homepage: http://jlfencey.com Xref: archiver1.google.com comp.lang.ada:33013 Date: 2003-01-14T15:12:14-05:00 List-Id: Dr. Michael Paus wrote: > if Det = 0.0 then -- A pointless test in Ada since an > raise Constraint_Error; -- attempted divide by zero will raise > end if; -- Constraint_Error anyway. > > This is NOT pointless because a piece of code should also > work correctly if someone turns off the automatic checks in Ada. Turning off checks does not mean that Constraint_Error will not be raised (especially if you consider the divide-by-zero case). Vinzent. -- A general leading the State Department resembles a dragon commanding ducks. -- New York Times, Jan. 20, 1981