unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Bug 13 (expt 0 0) -> 0, release-critical or not?
@ 2002-03-21 16:49 Rob Browning
  2002-04-24 21:23 ` Marius Vollmer
  0 siblings, 1 reply; 6+ messages in thread
From: Rob Browning @ 2002-03-21 16:49 UTC (permalink / raw)



The bug:

  bug 13 -- (expt 0 0) -> 0
  reported-by: rlb / 2001-03-21
  fixed: not-yet

  According to R5RS (expt 0 0) -> 1

Also filed as bug 15 in HEAD.

I already have a fix for this, but as-per my earlier suggestions I'd
like to start discussing non-trivial freeze changes before making
them.

In frozen I'd just change boot-9.scm to check for the zero? case.
That way we're guaranteed not to affect any other intenal code that
might depends on the particular quirks of integer-expt in numbers.c

For unstable, I'd go ahead and fix integer-expt directly, but not
immediately.  I've been working on the issues involved in using gmp
with guile, and I'd probably just handle it during that process.

Thoughts?

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD

_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-05-16 17:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-21 16:49 Bug 13 (expt 0 0) -> 0, release-critical or not? Rob Browning
2002-04-24 21:23 ` Marius Vollmer
2002-05-15  5:01   ` Rob Browning
2002-05-15 19:19     ` Marius Vollmer
2002-05-16 16:19       ` Rob Browning
2002-05-16 17:06         ` Rob Browning

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).