comp.lang.ada
 help / color / mirror / Atom feed
From: george.priv@gmail.com
Subject: Re: Ada.Real_Time behavior with GNAT
Date: Sat, 29 Mar 2008 12:06:38 -0700 (PDT)
Date: 2008-03-29T12:06:38-07:00	[thread overview]
Message-ID: <4c57f978-471a-4f41-baf1-ba26902cdbbe@b1g2000hsg.googlegroups.com> (raw)
In-Reply-To: 47ee7c8c$0$4857$9b4e6d93@newsspool4.arcor-online.net

On Mar 29, 1:29 pm, Georg Bauhaus <rm.tsoh.plus-
bug.bauh...@maps.futureapps.de> 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
>
> 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.

Checked again after rebooting and works fine (Vista Ultimate: Version
6.0.6000) Gateway 2000 Tablet.
Takes 4 times longer with range checking (-O2).

C:\Users\gpriv.AXONX\Documents\ada>main
 100000000
 0.101334388

C:\Users\gpriv.AXONX\Documents\ada>main
 100000000
 0.429672137

George.



  reply	other threads:[~2008-03-29 19:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-29 13:51 Ada.Real_Time behavior with GNAT kongra
2008-03-29 16:50 ` george.priv
2008-03-29 17:29   ` Georg Bauhaus
2008-03-29 19:06     ` george.priv [this message]
2008-03-29 19:15     ` Konrad Grzanek
2008-03-29 18:11 ` Simon Wright
2008-03-29 18:25 ` Dmitry A. Kazakov
2008-03-29 19:46   ` Konrad Grzanek
2008-03-29 21:21     ` george.priv
2008-03-29 21:49       ` Konrad Grzanek
2008-03-30  0:14     ` Georg Bauhaus
2008-03-30 17:12 ` Semantics of statement reordering relevant to Ada.Real_Time Eric Hughes
2008-03-30 18:59   ` Robert A Duff
2008-03-30 21:12     ` Eric Hughes
2008-03-30 21:28       ` Robert A Duff
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox