9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Charles Forsyth <charles.forsyth@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] comparisons with NaN
Date: Thu, 22 Aug 2013 15:25:02 +0100	[thread overview]
Message-ID: <CAOw7k5gR231qkm8AqGFG36BE9GsSn=8CXGqg0V8+Ai5rh1ZG-w@mail.gmail.com> (raw)
In-Reply-To: <f56bc98d7a59e55dbfb744a09fa2869c@hamnavoe.com>

[-- Attachment #1: Type: text/plain, Size: 562 bytes --]

> it would be reasonable to try to follow the standard, unless it's stupid,
> > ill-advised, or impossible (or all three).
>

I was a little ambiguous. I meant that statement in general, but I in the
particular case of floating-point, being fundamental, probably should work
as now defined,
and I didn't think NaNs satisfied the last bit of being stupid, ill-advised
or impossible.

Looking at the code generated, I'd have thought that it was the use of FCOM
instead of FUCOM that mattered,
not the integer unit comparison that's subsequently used.

[-- Attachment #2: Type: text/html, Size: 937 bytes --]

  reply	other threads:[~2013-08-22 14:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-21 13:17 Richard Miller
2013-08-21 14:34 ` erik quanstrom
2013-08-21 16:08   ` Richard Miller
2013-08-21 16:55     ` erik quanstrom
2013-08-21 17:42       ` Bakul Shah
2013-08-21 17:47         ` erik quanstrom
2013-08-21 18:00           ` Bakul Shah
2013-08-21 18:00           ` Richard Miller
2013-08-21 18:24             ` Charles Forsyth
2013-08-22 14:05               ` Richard Miller
2013-08-22 14:25                 ` Charles Forsyth [this message]
2013-09-20  9:05                   ` Richard Miller
2013-08-21 14:36 ` erik quanstrom
2013-08-21 18:24   ` lucio
2013-08-21 18:27     ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOw7k5gR231qkm8AqGFG36BE9GsSn=8CXGqg0V8+Ai5rh1ZG-w@mail.gmail.com' \
    --to=charles.forsyth@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).