Date: Sun, 16 Feb 2003 02:28:08 +0800 From: Huang wen hui <hwh@gddsn.org.cn> To: Huang wen hui <hwh@gddsn.org.cn> Cc: java@FreeBSD.ORG, stable@freebsd.org Subject: Re: Optimization problem (Re: Math.pow bug for jdk1.3.1-p8 ?) Message-ID: <3E4E86B8.2040608@gddsn.org.cn> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a simple one:
#include <stdio.h>
#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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E4E86B8.2040608>
