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


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

Re: Fwd: Re: double == double

From Michael Jung <miju@golem.phantasia.org>
Newsgroups comp.lang.java.programmer
Subject Re: Fwd: Re: double == double
Date 2016-10-21 19:53 +0200
Organization albasani.net
Message-ID <8760ol1tco.fsf@golem.phantasia.org> (permalink)
References <nu8nek$mbu$2@dont-email.me> <87insmj18o.fsf@golem.phantasia.org> <nub6da$4vd$1@dont-email.me>

Show all headers | View raw


Eric Sosman <esosman@comcast-dot-net.invalid> writes:
> On 10/20/2016 2:59 PM, Michael Jung wrote:
>> 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.
>     Hmmm?  Math.min promises to treat -0 as "less than" +0, and says
> that min(+0.0, -0.0) will be -0.0.

You are right. I must have stumbled over the int or long version of min.

Michael

Back to comp.lang.java.programmer | Previous | Next — Previous 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