From: Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de>
Subject: Re: Erroneous results with LOG function when using inline option (-gnatN)
Date: Tue, 3 Aug 2004 18:40:11 +0000 (UTC)
Date: 2004-08-03T18:40:11+00:00 [thread overview]
Message-ID: <ceom6b$r53$1@a1-hrz.uni-duisburg.de> (raw)
In-Reply-To: 9c9fb8b4.0408030820.720a57cb@posting.google.com
Fr?d?ric Ormancey <frederic.ormancey@atosorigin.com> wrote:
: correct result is :
: 3.53400000000000E+03
: 8.17018565287964E+00
: 6.93147180559945E-01
: 1.17870863245516E+01
: 11
The above result I get when compiling with GCC 3.4.1 on Debian,
with or without -gnatN.
: When using -gnatN option I got this erroneous result :
: 3.53400000000000E+03
: 0.E+14
: 3.53400000053248E+14
: 5.04315471466814E-4932
: 2147483647
GNAT 3.15p (from NYU) and -gnatN:
3.53400000000000E+03
3.53400000000001E+14
3.53400000000001E+14
3.53400000000002E+14
2147483647
adding -gnato gives
3.53400000000000E+03
3.53400000000001E+14
3.53400000000001E+14
3.53400000000002E+14
raised CONSTRAINT_ERROR : test_numeric.adb:22 overflow check failed
HTH
-- Georg
next prev parent reply other threads:[~2004-08-03 18:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-03 16:20 Erroneous results with LOG function when using inline option (-gnatN) Fr?d?ric Ormancey
2004-08-03 18:40 ` Georg Bauhaus [this message]
2004-08-04 12:46 ` Gautier
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox