Port-vax archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[no subject]
Hi,
why not mimicing the behavior of the VMS-Compiler? Would it be much work?
$ cc/version
Compaq C V6.4-005 on OpenVMS VAX V7.3
$ cc double.c
double d = 1e50;
.............^
%CC-W-FLOATOVERFL, In the initializer for d, floating-point overflow occurs in
evaluating the expression "1e50".
At line number 4 in DUA0:[TEST]FLOAT.C;3.
$ link double.obj
$ run double
-32769
double.c:
#include <stdio.h>
main() {
double d = 1e50;
printf("%d\n",d);
}
--
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss
für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
Home |
Main Index |
Thread Index |
Old Index