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-Thread: 103376,101c38a932801b81 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!62.111.101.3.MISMATCH!news.germany.com!news.belwue.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Sat, 29 Mar 2008 18:29:48 +0100 From: Georg Bauhaus Reply-To: rm.tsoh+bauhaus@maps.futureapps.de User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada.Real_Time behavior with GNAT References: <4982c29a-098c-4ff4-ac59-59d54ac65340@a70g2000hsh.googlegroups.com> In-Reply-To: <4982c29a-098c-4ff4-ac59-59d54ac65340@a70g2000hsh.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <47ee7c8c$0$4857$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 29 Mar 2008 18:29:48 CET NNTP-Posting-Host: c6449563.newsspool4.arcor-online.net X-Trace: DXC=]ZhLSNS0Y77i6K;>iZ]7634IUK2h]Wj;DHUDE2PCY\c7>ejV8[>ein8_LA;7k^QCGceUUE3 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:20630 Date: 2008-03-29T18:29:48+01:00 List-Id: george.priv@gmail.com wrote: > Your program should overflow (unless you suppress checks) raising > Constraint_Error for Val. It runs fine on Vista though after fixing > overflow problem The overflow fix (+ I <--> + 1 ?), and also running GNAT in Ada mode (-gnato). Both do not fix the Total_T = 0.0 for me though. Vista 64bits. GNATLS GPL 2007 (20070405-41) Copyright 1997-2007, Free Software Foundation, Inc. The Debian GNAT compiler produces expected results, though. GNATLS 4.1.220061115prerelease (Debian 4.1.1-22) Copyright 1997-2005 Free Software Foundation, Inc.