From: Pascal Ledru <Ledru#m#_Pascal@MSMAIL3.HAC.COM>
Subject: GNAT and Ariane 5 crash
Date: 1996/08/02
Date: 1996-08-02T00:00:00+00:00 [thread overview]
Message-ID: <32020E13.41C6@MSMAIL3.HAC.COM> (raw)
The following code:
with Text_IO;
use Text_IO;
procedure test is
F : Float;
I : Integer;
begin
F := 1.0e31;
I := Integer( F );
Put_Line( Integer'Image(I) );
end;
displays 2147483647 with GNAT (3.04 on SGI)
while it displays (correctly I think) numeric_error
with another compiler.
next reply other threads:[~1996-08-02 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-02 0:00 Pascal Ledru [this message]
1996-08-02 0:00 ` GNAT and Ariane 5 crash Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox