🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #12644

Re: ���,�����ô��true?

#12644
From: happi
Date: Fri, 23 Jul 2004 01:56
19 lines
1148 bytes
�� �� arson. �Ĵ������ᵽ: ��
:    double a2 = 1.0, b2 = -0;
:    float c2 = 1.0f, d2 = 0.0f;
:    System.out.println(((a2/b2)==(c2/d2)));      //why this "true"??
:    float��infinity ��long��infinity һ���ô? ���Ա�ô?  ���� �������෴..
: ô��true??????

java�е�inf�Dz��Ƕ���һ���!!!

--
���ư˰��޶��֣���ԯ�س���ʥ�ˡ�






�� ��Դ:���ɽ��ˮ bbs.neu.edu.cn��[FROM: 218.25.93.84]
Technical Details
Message-ID: <4DL014$CKr@bbs.neu.edu.cn>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsfeed.media.kyoto-u.ac.jp!news.neu.edu.cn!NEU

Show Full Headers
Complete Article Headers
X-Google-Thread: f6cb0,6200089850d6651
X-Google-Attributes: gidf6cb0,public
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsfeed.media.kyoto-u.ac.jp!news.neu.edu.cn!NEU
From: happi.bbs@bbs.neu.edu.cn (happi)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: ���,�����ô��true?
Date: 23 Jul 2004 01:56:04 GMT
Organization: ��ɽ��ˮ
Message-ID: <4DL014$CKr@bbs.neu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: java/M.1090547764.A
Lines: 19