[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
division by 0
From: |
Bernard Urban |
Subject: |
division by 0 |
Date: |
03 Mar 2004 15:55:17 +0100 |
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
- division by 0,
Bernard Urban <=