From owner-freebsd-alpha Sun Mar 5 22:48:45 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 104A937BC05; Sun, 5 Mar 2000 22:48:39 -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 PAA22721; Mon, 6 Mar 2000 15:46:16 +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 PAA06553; Mon, 6 Mar 2000 15:46:39 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by rd.isac.co.jp (8.9.3/8.8.5) with ESMTP id PAA50269; Mon, 6 Mar 2000 15:48:55 +0900 (JST) To: simokawa@sat.t.u-tokyo.ac.jp Cc: gnats-admin@FreeBSD.ORG, freebsd-alpha@FreeBSD.ORG Subject: Re: alpha/17032: strtod(3) floating exception In-Reply-To: Your message of "Mon, 06 Mar 2000 01:28:21 +0900" References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000306154855R.nobu@rd.isac.co.jp> Date: Mon, 06 Mar 2000 15:48:55 +0900 From: Nobuhiro Yasutomi X-Dispatcher: imput version 971024 Lines: 20 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hidetoshi Shimokawa writes: > FreeBSD/alpha uses strtod.c obtained from NetBSD, > i.e. src/lib/libc/stdlib/netbsd_strtod.c. Oh, I missed this file. Thanks. > > Based NetBSD-current source as > > $NetBSD: strtod.c,v 1.33 1999/11/26 07:39:45 msaitoh Exp $ > > If recent netbsd's strtod.c works without `-mieee', it must be nice. Yes, recent netbsd's one works without `-mieee'. By the way, I found other case to make `Floating point exception' the value is "10e-323". This case happen with `-mieee' option. When without `-mieee', strtod retrun value to 0. But FreeBSD i386's strtod make 9.88131e-323. Which is collect behavier? --- 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