From: Daniel Llorens <daniel.llorens@bluewin.ch>
To: 25492@debbugs.gnu.org
Subject: bug#25492: [patch] floating point bug in 2.1.6
Date: Tue, 7 Feb 2017 12:26:53 +0100 [thread overview]
Message-ID: <8B9E5096-5077-44EC-90C5-FBD81E15E9F2@bluewin.ch> (raw)
In-Reply-To: <handler.25492.B.148490524224084.ack@debbugs.gnu.org>
It's a trivial patch. I don't know how to test it though.
From a0028723da283d39e5ab4e43f8934506a917498b Mon Sep 17 00:00:00 2001
From: Daniel Llorens <daniel.llorens@bluewin.ch>
Date: Tue, 7 Feb 2017 12:14:15 +0100
Subject: [PATCH] Fix bug #25492
* libguile/vm-engine.c (BR_F64_ARITHMETIC): Fix type.
---
libguile/vm-engine.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libguile/vm-engine.c b/libguile/vm-engine.c
index 6848406..c9a9cec 100644
--- a/libguile/vm-engine.c
+++ b/libguile/vm-engine.c
@@ -361,7 +361,7 @@
#define BR_F64_ARITHMETIC(crel) \
{ \
scm_t_uint32 a, b; \
- scm_t_uint64 x, y; \
+ double x, y; \
UNPACK_24 (op, a); \
UNPACK_24 (ip[1], b); \
x = SP_REF_F64 (a); \
--
2.10.1
next prev parent reply other threads:[~2017-02-07 11:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-20 9:40 bug#25492: floating point bug in 2.1.6 Daniel Llorens
[not found] ` <handler.25492.B.148490524224084.ack@debbugs.gnu.org>
2017-02-07 11:26 ` Daniel Llorens [this message]
2017-02-07 11:45 ` bug#25492: closing Daniel Llorens
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
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8B9E5096-5077-44EC-90C5-FBD81E15E9F2@bluewin.ch \
--to=daniel.llorens@bluewin.ch \
--cc=25492@debbugs.gnu.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).