From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <25bb9e827d337c694b89b2d677d89017@hamnavoe.com> References: <461015d88dcdc89a3697e2e1d01a926c@kw.quanstro.net> <25bb9e827d337c694b89b2d677d89017@hamnavoe.com> Date: Wed, 21 Aug 2013 19:24:50 +0100 Message-ID: From: Charles Forsyth To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=20cf3036369f041b0804e4794a81 Subject: Re: [9fans] comparisons with NaN Topicbox-Message-UUID: 73754532-ead8-11e9-9d60-3106f5b1d025 --20cf3036369f041b0804e4794a81 Content-Type: text/plain; charset=UTF-8 I think that if there is a generally-accepted standard for the behaviour of a language's handling of floating-point numbers, it would be reasonable to try to follow the standard, unless it's stupid, ill-advised, or impossible (or all three). That reply to the Stack Overflow post -- and this might be the first and last time I can write this -- was, I thought, concise and compelling. On 21 August 2013 19:00, Richard Miller <9fans@hamnavoe.com> wrote: > > by "this" i ment to refer to -0. > > But the subject line says "comparisons with NaN". Start another > thread about signed zero if you like. (I'm not facing a test > suite objecting to those at the moment.) > > > --20cf3036369f041b0804e4794a81 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I think that if there is a generally-accepted standard for= the behaviour of a language's handling of floating-point numbers,
= it would be reasonable to try to follow the standard, unless it's stupi= d, ill-advised, or impossible (or all three).
That reply to the Stack Overflow post -- and this might be the first a= nd last time I can write this -- was, I thought, concise and compelling.


On 2= 1 August 2013 19:00, Richard Miller <9fans@hamnavoe.com> wr= ote:
> by "this" i= ment to refer to -0.

But the subject line says "comparisons with NaN". =C2=A0Sta= rt another
thread about signed zero if you like. =C2=A0(I'm not facing a test
suite objecting to those at the moment.)



--20cf3036369f041b0804e4794a81--