From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] gnu-c99-math.h include file
Date: Fri, 8 Apr 2005 12:39:02 +0100 [thread overview]
Message-ID: <200504081239.04435.paul@codesourcery.com> (raw)
In-Reply-To: <200504080833.j388Xfur016496@imap3.tools.intra>
> #include <ieeefp.h>
>
> #define isnormal(x) (fpclass(x) >= FP_NZERO)
>
> #define isgreater(x, y) ((x) > (y))
> #define isgreaterequal(x, y) ((x) >= (y))
> #define isless(x, y) ((x) < (y))
> #define islessequal(x, y) ((x) <= (y))
These are not correct. eg. You should be using
#define isgreater(x, y) ((!unordered(x, y)) && ((x) > (y))
Paul
next prev parent reply other threads:[~2005-04-08 11:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-08 8:33 [Qemu-devel] gnu-c99-math.h include file Juergen Keil
2005-04-08 11:39 ` Paul Brook [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-04-07 19:32 Ben Taylor
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=200504081239.04435.paul@codesourcery.com \
--to=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
/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).