unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* division by 0
@ 2004-03-03 14:55 Bernard Urban
  2004-03-21  0:34 ` Marius Vollmer
  0 siblings, 1 reply; 7+ messages in thread
From: Bernard Urban @ 2004-03-03 14:55 UTC (permalink / raw)
  Cc: bernard.urban


Debian woody on i386.

$ guile
guile> (version)
"1.6.4"
guile> (/ 0)
+#.#
guile> (/ 1.0 0)
+#.#
guile> (/ 1 0.0)
+#.#
guile>(/ 1 0)
standard input:3:1: In procedure / in expression (/ 1 0):
standard input:3:1: Numerical overflow
ABORT: (numerical-overflow)

Type "(backtrace)" to get more information or "(debug)" to enter the debugger.
guile>

Problem happens in numbers.c, function scm_divide(), where the test 
#line 3274 should not be made.
 
scm_divide() seems copied from scm_quotient(), where the above
behaviour is correct.

-- 

Bernard Urban


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


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

end of thread, other threads:[~2004-05-10 21:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-03 14:55 division by 0 Bernard Urban
2004-03-21  0:34 ` Marius Vollmer
2004-03-29  9:09   ` Bernard Urban
2004-04-20  1:21     ` Kevin Ryde
2004-04-20 13:21       ` Bernard Urban
2004-04-20 15:18       ` Bernard Urban
2004-05-10 21:36     ` 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).