Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #3751

Gradual-Underflow Wars

Path csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!news.snarked.org!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!lust.ihug.co.nz!ihug.co.nz!not-for-mail
From Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand>
Newsgroups comp.lang.java.programmer
Subject Gradual-Underflow Wars
Followup-To comp.lang.java.programmer
Date Sat, 07 May 2011 20:50:27 +1200
Organization Geek Central
Lines 20
Message-ID <iq314k$9df$1@lust.ihug.co.nz> (permalink)
NNTP-Posting-Host 118-92-95-178.dsl.dyn.ihug.co.nz
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
X-Trace lust.ihug.co.nz 1304758228 9647 118.92.95.178 (7 May 2011 08:50:28 GMT)
X-Complaints-To abuse@ihug.co.nz
NNTP-Posting-Date Sat, 7 May 2011 08:50:28 +0000 (UTC)
User-Agent KNode/4.4.7
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3751

Followups directed to: comp.lang.java.programmer

Show key headers only | View raw


Nowadays we take IEEE-754 arithmetic for granted (at least in the hardware; 
language support is another matter, unless you’re using an enlightened 
language like GCC or Python). It was a different matter in the late 1970s, 
when the idea for a standard floating-point architecture first came 
together, spurred by Intel’s development of its 8087 chip.

Hard to believe it now, but the most controversial aspect of the proposal 
was its support for denormalized numbers, to fill in the underflow gap 
between the closest normalized number to zero, and zero itself. In theory 
you could write code that would work correctly without such help, but most 
people didn’t have that kind of skill in numerics. And still don’t.

<http://www.eecs.berkeley.edu/~wkahan/ieee754status/754story.html>

Kahan also has a paper elsewhere deriding the floating-point limitations of 
Java. Java does not distinguish between NaN and infinity, and provides no 
way of querying and controlling floating-point exceptions (in the IEEE-754 
sense of “exception”).

His paper was published in 1998, and is still a valid criticism today.

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

Gradual-Underflow Wars Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-07 20:50 +1200
  Re: Gradual-Underflow Wars Lew <noone@lewscanon.com> - 2011-05-07 08:06 -0400

csiph-web