From: Tom Tromey <tromey@redhat.com>
To: Mark Wielaard <mark@klomp.org>
Cc: java@gcc.gnu.org
Subject: Re: real_zerop thinks -0 == 0
Date: Tue, 16 Apr 2002 08:47:00 -0000 [thread overview]
Message-ID: <87r8lf8z0l.fsf@creche.redhat.com> (raw)
In-Reply-To: Mark Wielaard's message of "16 Apr 2002 01:48:57 +0200"
>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:
Mark> - if (real_zerop (exp))
Mark> - OP1 (prec == 1 ? OPCODE_fconst_0 : OPCODE_dconst_0);
Mark> - else if (real_onep (exp))
Mark> + if (real_onep (exp))
Mark> This isn't a real solution, but I don't know how to correctly
Mark> test for positive zero and I really must get some sleep
Mark> now. Maybe someone more familiar with this code can suggest the
Mark> proper solution.
I don't know if it is the proper solution but in gcc/real.h I see
REAL_VALUE_MINUS_ZERO. Would it be appropriate to use this?
Tom
next prev parent reply other threads:[~2002-04-16 15:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-15 18:22 Mark Wielaard
2002-04-16 8:47 ` Tom Tromey [this message]
2002-04-16 8:58 ` Mark Wielaard
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=87r8lf8z0l.fsf@creche.redhat.com \
--to=tromey@redhat.com \
--cc=java@gcc.gnu.org \
--cc=mark@klomp.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 read-only IMAP folder(s) and NNTP newsgroup(s).