From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,d68f7a53605caa47,start X-Google-Attributes: gid111c93,public From: "David A. van Leeuwen" Subject: HUGE_VAL, -mieee Date: 1998/12/10 Message-ID: <36704301.185640EF@cistron.nl>#1/1 X-Deja-AN: 420954116 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@cistron.nl X-Trace: enterprise.cistron.nl 913326869 15204 195.64.66.139 (10 Dec 1998 21:54:29 GMT) Organization: Cistron Internet Services B.V. Mime-Version: 1.0 NNTP-Posting-Date: 10 Dec 1998 21:54:29 GMT Newsgroups: comp.os.linux.alpha Hi, I noticed that using #include float a=HUGE_VAL; will give a floating point exception when compiled without `-mieee' with gcc. Gcc's man page says that compiling in IEEE conformity slows down execution, because not so much of the alpha's special floating point hardware can be used. Shouldn't there be a resonable value in huge_val.h in case `-mieee' is _not_ given on an alpha. Like #define HUGE_VAL 1e100 or whatever is near to the end of a normal float. ---david -- David A. van Leeuwen http://davl.op.het.net Echt stijlvol sterven doe je / bij een ander op de mat Op de dag dat je bezorgd wordt / door het NRC Handelsblad ---Joop Visser