Date: Tue, 07 Mar 2000 14:19:08 +0900 From: Nobuhiro Yasutomi <nobu@rd.isac.co.jp> To: peter.jeremy@alcatel.com.au Cc: gnats-admin@FreeBSD.ORG, freebsd-alpha@FreeBSD.ORG Subject: Re: alpha/17032: strtod(3) floating exception Message-ID: <20000307141908G.nobu@rd.isac.co.jp> In-Reply-To: Your message of "Tue, 7 Mar 2000 07:34:17 %2B1100" <00Mar7.073417est.115205@border.alcanet.com.au> References: <00Mar7.073417est.115205@border.alcanet.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Jeremy <peter.jeremy@alcatel.com.au> writes: > Unlike the i386, the Alpha doesn't support denormalised numbers (eg > doubles less than ~2.225e-308) in hardware. By default they truncate > to zero. Correct IEEE behaviour relies on a combination of compiler > (the -mieee flag) and kernel support. > > As for 10e-323, that number cannot be represented as a double (for > denormalised numbers, only integer multiples of ~4.940656e-324 can be > represented). The closest representable value is 9.88131e-323 - which > is what the i386 reported. Thank you Peter for describe background. I understand to handle IEEE fully support are far way. Well, hard to fix complite this problem for me. :-( I think ad hoc escape coding in my program now. And hope fix sometime. %% Oh, Linux/Alpha already support this... --- Nobuhiro Yasutomi ISAC, Inc. http://www.isac.co.jp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000307141908G.nobu>