Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: Miklos Cserzo
Subject: Basic problem on IRIX
Date: 4 Jul 2001, 17:33:32
Hi Folks,
something went terribly wrong with the latest release of GPC on IRIX. Here
is a short test code:
program testit;
var x:real;
begin
x:=355/113;
writeln(round(355/113):10);
writeln(355/113:12:8);
writeln(round(355/113):10,' ',355/113:12:8);
writeln(355/113:12:8,' ',round(355/113));
writeln(round(355/113*100)); writeln(round(355/113*10000));
writeln(round(x):10);
writeln(x:12:8);
writeln(round(x),' ',x:12:8);
writeln(round(x*100)); writeln(round(x*10000));
end.
And here is the output piped to 'cat -v' (note the invisible characters):
3
0.000.^@^@00
3 3.15923292
0.000.^@^@00 3
314
31416
3
0.000.^@^@00
3 0.00000000
314
31416
Also note that the real value in the third line is incorrect.
The version:
Reading specs from
/usr/local/test/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/specs gpc version
20010502, based on 2.95.2 19991024 (release)
The OS: IRIX 6.5.12
The log of the make process and the result of the test programs are
attached.
The compilation of the most recent version of GPC is not resulting a valid
binary.
Any idea about this?
Cheers,
miklos
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
| Author | Subject | Date |
|---|---|---|
| Frank Heckenbach | Basic problem on IRIX | 5 Jul 2001, 23:23:17 |
Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.
Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.
This page was created by Crystal 0.999 (Linux 2.4.27/i686).