* numbers.c (scm_sys_check_number_conversions): new function,
authorMichael Livshin <mlivshin@bigfoot.com>
Sat, 1 Sep 2001 17:17:50 +0000 (17:17 +0000)
committerMichael Livshin <mlivshin@bigfoot.com>
Sat, 1 Sep 2001 17:17:50 +0000 (17:17 +0000)
commitb10586f098fd7d0303bc605de35af1ec4da68a29
treef9defe29b618dff881cafbeae4619bac4da7091f
parent6f84677a95883a0301978b51a7fb4d8c5f362f8d
* numbers.c (scm_sys_check_number_conversions): new function,
defined if Guile is compiled in debugging mode.  currently checks
`scm_num2ulong', should check much much more.

* num2integral.i.c (NUM2INTEGRAL): when converting a bignum to
unsigned, ensure that it's positive.  thanks to Martin Baulig!
libguile/ChangeLog
libguile/num2integral.i.c
libguile/numbers.c