From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Vincent Lefevre <vincent@vinc17.net>
Cc: 5916@debbugs.gnu.org
Subject: bug#5916: XFLOAT_DATA and signed zeroes
Date: Sat, 10 Apr 2010 11:20:33 -0400 [thread overview]
Message-ID: <jwvljcv2v3s.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20100409233923.GT17637@prunille.vinc17.org> (Vincent Lefevre's message of "Sat, 10 Apr 2010 01:39:23 +0200")
> lisp.h (XFLOAT_DATA): Produce an rvalue by adding 0 to the value.
> However, adding 0 has another side effect on floats: the 0 is
> converted into +0.0 (due to the addition with a double), so that
> a -0.0 is transformed into a +0.0.
I guess we could/should make this "+0" conditional on some debugging
option, since after all it's only needed to catch coding errors.
Stefan
next prev parent reply other threads:[~2010-04-10 15:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-09 23:39 bug#5916: XFLOAT_DATA and signed zeroes Vincent Lefevre
2010-04-10 15:20 ` Stefan Monnier [this message]
2010-04-10 16:05 ` Andreas Schwab
2010-04-10 16:43 ` Vincent Lefevre
2010-04-10 17:25 ` Andreas Schwab
2010-05-16 18:58 ` Glenn Morris
2010-05-16 20:11 ` Ken Raeburn
2010-05-16 20:12 ` Ken Raeburn
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=jwvljcv2v3s.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=5916@debbugs.gnu.org \
--cc=vincent@vinc17.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.