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


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

Re: Fwd: Re: double == double

From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Fwd: Re: double == double
Date 2016-10-20 07:54 -0400
Organization A noiseless patient Spider
Message-ID <nuab8i$s04$1@dont-email.me> (permalink)
References <md5:/ly77XHCxjkwLJNg81+qIg==> <nu8nek$mbu$2@dont-email.me> <nu96n0$eqr$1@gioia.aioe.org>

Show all headers | View raw


On 10/19/2016 9:30 PM, Arne Vajhøj wrote:
> On 10/19/2016 5:10 PM, Eric Sosman wrote:
>>     (A final point: All this argument over the sign of nothing leaves
>> me, I confess, a bit perplexed.  However, those with more numerical
>> sophistication find the distinction between +0 and -0 to be of great
>> practical importance.  William Kahan is particularly vehement on the
>> topic; look for his presentation titled "Branch Cuts for Complex
>> Elementary Functions or Much Ado About Nothing's Sign Bit," and
>> bring more mathematical prowess to your reading than I can. :)
>
> With the specification for operations then I don't think the
> existence of -0.0 has much impact on practical programming.

     Kahan ("the primary architect behind the IEEE 754-1985 standard
for floating-point computation" -- Wikipedia) disagrees.  Since he
knows a whale of a lot more about numerical computation than I ever
will, I'm inclined to take his word for it.

     (He's no fan of Java, by the way.  Look for his presentation
"How JAVA's Floating-Point Hurts Everyone Everywhere."  It starts
out rather calmly but develops into what sounds like a rant -- but
by that time its mathematics is so far above me that rantingness
may just be a figment of my lack of imagination.)

-- 
esosman@comcast-dot-net.invalid
"Don't be afraid of work. Make work afraid of you." -- TLM

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Fwd: Re: double == double Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-10-19 17:10 -0400
  Re: Fwd: Re: double == double Arne Vajhøj <arne@vajhoej.dk> - 2016-10-19 21:30 -0400
    Re: Fwd: Re: double == double Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-10-20 07:54 -0400
  Re: Fwd: Re: double == double Michael Jung <miju@golem.phantasia.org> - 2016-10-20 20:59 +0200
    Re: Fwd: Re: double == double Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-10-20 15:37 -0400
      Re: Fwd: Re: double == double Michael Jung <miju@golem.phantasia.org> - 2016-10-21 19:53 +0200

csiph-web