From owner-freebsd-alpha Mon Mar 6 21:18:59 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from dokuro.isac.co.jp (dokuro.isac.co.jp [192.47.123.3]) by hub.freebsd.org (Postfix) with ESMTP id 9522837B9EC; Mon, 6 Mar 2000 21:18:48 -0800 (PST) (envelope-from nobu@rd.isac.co.jp) Received: from mailgw1.psrc.isac.co.jp ([192.47.120.49]) by dokuro.isac.co.jp (8.8.7/3.7W) with ESMTP id OAA02792; Tue, 7 Mar 2000 14:16:20 +0900 (JST) Received: from rd.isac.co.jp (aquarius.rd.isac.co.jp [192.47.125.162]) by mailgw1.psrc.isac.co.jp (8.8.7/3.6W) with ESMTP id OAA17857; Tue, 7 Mar 2000 14:16:44 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by rd.isac.co.jp (8.9.3/8.8.5) with ESMTP id OAA66488; Tue, 7 Mar 2000 14:19:08 +0900 (JST) To: peter.jeremy@alcatel.com.au Cc: gnats-admin@FreeBSD.ORG, freebsd-alpha@FreeBSD.ORG Subject: Re: alpha/17032: strtod(3) floating exception In-Reply-To: Your message of "Tue, 7 Mar 2000 07:34:17 +1100" <00Mar7.073417est.115205@border.alcanet.com.au> References: <00Mar7.073417est.115205@border.alcanet.com.au> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000307141908G.nobu@rd.isac.co.jp> Date: Tue, 07 Mar 2000 14:19:08 +0900 From: Nobuhiro Yasutomi X-Dispatcher: imput version 971024 Lines: 23 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Peter Jeremy 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