unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* (expt 0 3) => 1 but should yield 0
@ 2002-10-22  6:31 Eric Hanchrow
  2002-11-03 17:14 ` Marius Vollmer
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Hanchrow @ 2002-10-22  6:31 UTC (permalink / raw)



This is guile 1.6.0

$ /usr/local/guile1.6/bin/guile -q -c '(begin (display (expt 0 3)) (newline))'
1

But other schemes (not to mention my dim recollection of mathematics)
disagree:

$ /usr/bin/guile --version
Guile 1.4

$ /usr/bin/guile -q -c '(begin (display (expt 0 3)) (newline))'
0

$ scheme -eval '(begin (display (expt 0 3)) (newline) (exit))' 2>/dev/null
...
MIT Scheme running under GNU/Linux
...
  Release 7.7.0
...
0

$ scsh -c '(begin (display (expt 0 3)) (newline) (exit))'
0

-- 
PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5  C8BD 6337 0041 C01C 5276


_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile


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

end of thread, other threads:[~2002-11-03 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-22  6:31 (expt 0 3) => 1 but should yield 0 Eric Hanchrow
2002-11-03 17:14 ` Marius Vollmer

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