🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#12649
From: Raymond
Date: Fri, 23 Jul 2004 02:45
15 lines
1281 bytes
�������Infinity����֮�֡� 
�� �� happi.bbs@bbs.neu.edu.cn (happi) �Ĵ������ᵽ: ��
: �� �� 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.zju.edu.cn��[FROM: romie]
Technical Details
Message-ID: <4DL1EP$9aJ@bbs.zju.edu.cn>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news3.optonline.net!news.bylinux.net!netnews.sdu.edu.cn!ZJU

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!news1.google.com!news.glorb.com!news3.optonline.net!news.bylinux.net!netnews.sdu.edu.cn!ZJU
From: romie.bbs@bbs.zju.edu.cn (Raymond)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: ���,�����ô��true?
Date: 23 Jul 2004 02:45:39 GMT
Organization: �㽭��ѧ���ɰٴ�վ
Message-ID: <4DL1EP$9aJ@bbs.zju.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1090550713.A
Lines: 15