comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier <Gautier.deMontmollin@maths.unine.ch>
Subject: Re: ADA V3.5 on ALPHA platform
Date: 1999/12/10
Date: 1999-12-10T00:00:00+00:00	[thread overview]
Message-ID: <385150D8.8E069881@maths.unine.ch> (raw)
In-Reply-To: 38512EE7.B0241FFA@unnecessary.csc.com

Wow! Your bug runs nice (DEC Ada 3.5-2)...

%ACS-I-CL_LINKING, Invoking the OpenVMS Linker for OPENVMS_AXP target
$ ru bug
INTEGER'VALUE ("-") returns  0

There is another one, very strange: in my multi-precision library,
there is a constant boolean (DEBUG) that cause testings on multi-numbers,
only with a call to a Test function with an `in' parametre. It is
algorithmically neutral.

With DEBUG=true or no `suppress_all' pragma, the decimals of pi
(Test_int.adb) are calculated correctly. With DEBUG=false and
suppress_all on, the decimals of Pi are not calculated correctly at all
(instead of 1000 decimals, you obtain numbers like -172348687, which
is a slightly inaccurate approximation...). 

You can test it using
  http://members.xoom.com/gnatlist/multi002.zip

I suspect the optimizer... (case signaled to Compaq).

Otherwise I find DEC Ada an excellent compiler (at least
in terms of efficiency!)

-- 
Gautier

_____\\________________\_______\
http://members.xoom.com/gdemont/




      reply	other threads:[~1999-12-10  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-10  0:00 ADA V3.5 on ALPHA platform Adrian Birkett
1999-12-10  0:00 ` Gautier [this message]
replies disabled

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