Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #35855
| From | Michael Jung <miju@golem.phantasia.org> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Fwd: Re: double == double |
| Date | 2016-10-20 20:59 +0200 |
| Organization | albasani.net |
| Message-ID | <87insmj18o.fsf@golem.phantasia.org> (permalink) |
| References | <nu8nek$mbu$2@dont-email.me> |
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
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