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


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

Re: Fwd: Re: double == double

Path csiph.com!feeder.erje.net!1.eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail
From Michael Jung <miju@golem.phantasia.org>
Newsgroups comp.lang.java.programmer
Subject Re: Fwd: Re: double == double
Date Thu, 20 Oct 2016 20:59:03 +0200
Organization albasani.net
Lines 22
Message-ID <87insmj18o.fsf@golem.phantasia.org> (permalink)
References <nu8nek$mbu$2@dont-email.me>
Mime-Version 1.0
Content-Type text/plain
X-Trace news.albasani.net xakNA6t/rZ61/VaoxuR3hAxDctRnXDfsQFupgyaaHbtuDbrx1Xztv9BfOc0de1IpAblrJYN/4q4R/o3xiz0LDJo3E/oVU9eNiKRB/sqqQ5LYjEqzlnzfoBcG+USGZc7A
NNTP-Posting-Date Thu, 20 Oct 2016 18:59:04 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="CEM179Os7FctBhE+EvJfzASXvrZYuR5gJbKMvgh8u69V9Ko2SuDiuDuoBXC5Yxt1ZUhJmntauC09BuNyp92/jwen/ONFQVCfEYMHbpOs56IE3jSj/+/O1aCMnKteTO7R"; mail-complaints-to="abuse@albasani.net"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
Cancel-Lock sha1:01ETazLpIpjfFVJrk9LY7G0PeTE= sha1:8jWZ0zjOqkbqmoKMxEFe/r2GndQ=
Xref csiph.com comp.lang.java.programmer:35855

Show key headers only | View raw


Eric Sosman <esosman@comcast-dot-net.invalid> writes:
> On 10/19/2016 1:39 PM, Michael Jung wrote:
>> Eric Sosman <esosman@comcast-dot-net.invalid> writes:
>>> On 10/19/2016 9:03 AM, Mike Amling wrote:
[...]

max has the weird distinction between +0, -0, min doesn't, now that's
weird.

>     (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. :)

max is not a complex elementary function. sin would be, but I doubt sin
makes the distinction of +0 and -0 (in fact, it looks like this is OS
dependent).

Michael

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