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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM 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!postnews.google.com!u10g2000prn.googlegroups.com!not-for-mail From: Konrad Grzanek Newsgroups: comp.lang.ada Subject: Re: Ada.Real_Time behavior with GNAT Date: Sat, 29 Mar 2008 12:15:41 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <4982c29a-098c-4ff4-ac59-59d54ac65340@a70g2000hsh.googlegroups.com> <47ee7c8c$0$4857$9b4e6d93@newsspool4.arcor-online.net> NNTP-Posting-Host: 83.26.232.30 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1206818142 16749 127.0.0.1 (29 Mar 2008 19:15:42 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 29 Mar 2008 19:15:42 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: u10g2000prn.googlegroups.com; posting-host=83.26.232.30; posting-account=8ledOwoAAACzwtoronhUWHsxPqF356aB User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.25 (Windows NT 5.1; U; pl),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20634 Date: 2008-03-29T12:15:41-07:00 List-Id: On 29 Mar, 18:29, Georg Bauhaus wrote: > george.p...@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 Right, the way Ada handles overflows is one of the reasons I plan to migrate most of my future development to it. > > 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. > I mentioned using another project settings for my test in the initial posts, and yes, I also can't see any impact of the -gnato compiler switch on these timing problems.