9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Tim Newsham <newsham@lava.net>
To: Rob Pike <robpike@gmail.com>,
	Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] acid question
Date: Fri,  7 Jan 2005 20:34:08 -1000	[thread overview]
Message-ID: <Pine.BSI.4.58.0501072032060.10670@malasada.lava.net> (raw)
In-Reply-To: <7359f04905010721411d96535e@mail.gmail.com>

> This at least can be fixed by putting
> 	res->store.fmt = 'D';

Sure, but I'm really less concerned about the format associated
with the result of the comparison than I am about the fact that
although "a" and "b" show the same value, and "a-b" shows zero,
the "==" operator says they are not the same.  (Worse yet, if
I compare "a-b" with zero, it also fails).

> -rob

> >     a           0x800529a4
> >     b           0x800529a4
> >     a - b       0x00000000
> >     b - a       0x00000000
> >     a == b      0
> >     a < b       0x00000001
> >     b < a       0x00000000
> >     a > b       0
> >     b > a       1


  reply	other threads:[~2005-01-08  6:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-08  3:36 Tim Newsham
2005-01-08  5:41 ` Rob Pike
2005-01-08  6:34   ` Tim Newsham [this message]
2005-01-08 21:46 ` Tim Newsham
2010-07-17  8:33 Skip Tavakkolian
2010-07-17  8:48 ` EBo
2010-07-17  9:19   ` Skip Tavakkolian
2010-07-17 12:15     ` EBo
2010-07-17 15:00 ` Philippe Anel
2010-07-17 15:56   ` Philippe Anel
2010-07-17 16:46     ` cinap_lenrek
2010-07-17 16:48     ` cinap_lenrek
2010-07-17 17:23     ` Skip Tavakkolian
2010-07-17 17:58       ` Philippe Anel

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=Pine.BSI.4.58.0501072032060.10670@malasada.lava.net \
    --to=newsham@lava.net \
    --cc=9fans@cse.psu.edu \
    --cc=robpike@gmail.com \
    /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).