From owner-freebsd-stable Sat Feb 15 15:20:35 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 634EF37B401; Sat, 15 Feb 2003 15:20:34 -0800 (PST) Received: from gddsn.org.cn (mail.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E62443FD7; Sat, 15 Feb 2003 15:20:31 -0800 (PST) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gw [210.21.6.34]) by gddsn.org.cn (Postfix) with ESMTP id C7EDE38CB49; Sun, 16 Feb 2003 02:28:08 +0800 (CST) Message-ID: <3E4E86B8.2040608@gddsn.org.cn> Date: Sun, 16 Feb 2003 02:28:08 +0800 From: Huang wen hui User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.1) Gecko/20021225 X-Accept-Language: zh-cn, zh-tw, en-us MIME-Version: 1.0 To: Huang wen hui Cc: java@FreeBSD.ORG, stable@freebsd.org Subject: Re: Optimization problem (Re: Math.pow bug for jdk1.3.1-p8 ?) References: <3E4C9DDD.4040204@gddsn.org.cn> <20030215.175421.1015281127.shudo@localhost> <20030216014802.A10817@misty.eyesbeyond.com> <20030216.005020.894433699.shudo@localhost> <3E4E7728.8030803@gddsn.org.cn> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a simple one: #include #define __LO(x) *(int*)&x double tst() { double t1; t1=2; __LO(t1) = 0; return t1; } main() { double d = tst(); printf("%f\n", d); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message