* numbers.h: Removed old comment about using SCM_CAR to access
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Fri, 5 Oct 2001 17:43:49 +0000 (17:43 +0000)
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Fri, 5 Oct 2001 17:43:49 +0000 (17:43 +0000)
commit14282d0f5c839816aff0e83466b6ea46e51cdac0
tree354985edd41850cc53c9096829f1b867e987471b
parent74e0de864ba9eab0bf5190a3a4788599eacbcff2
* numbers.h:  Removed old comment about using SCM_CAR to access
non-pair cells.

(SCM_MOST_POSITIVE_FIXNUM, SCM_MOST_NEGATIVE_FIXNUM):  Make sure
the return value is signed.  Thanks to Brian Crowder for the bug
report.

(SCM_SRS):  Avoid unnecessary casting and don't unpack input
values.  With this patch, SCM_SRS can be safely used for other
types than scm_t_signed_bits.  However, it should still better be
an internal macro and thus be renamed to SCM_I_SRS.

(SCM_MAKINUM, SCM_INUM):  Use proper casting.
THANKS
libguile/ChangeLog
libguile/numbers.h