From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] testing and p9fmt
Date: Thu, 5 Dec 2002 23:48:54 -0500 [thread overview]
Message-ID: <6bb8da20ac2ae249d4af55bea2d5e7b0@plan9.bell-labs.com> (raw)
There are a few other things to be aware of.
First, fmtdef.h says
typedef unsigned long uvlong;
which should be
typedef unsigned long long uvlong;
on systems that support it.
As for nan, I believe that this
static uvlong uvnan = 0x7FF0000000000001;
double
nan(double *d)
{
USED(d);
return *(double*)&uvnan;
}
will work on systems that need it, as long as
they use 64-bit doubles.
Russ
next reply other threads:[~2002-12-06 4:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-06 4:48 Russ Cox [this message]
2002-12-06 5:25 ` William Josephson
-- strict thread matches above, loose matches on Subject: below --
2002-12-06 4:18 Scott Schwartz
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=6bb8da20ac2ae249d4af55bea2d5e7b0@plan9.bell-labs.com \
--to=rsc@plan9.bell-labs.com \
--cc=9fans@cse.psu.edu \
/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).