| Date: Fri, 25 Sep 2009 01:21:46 -0400 | From: John Cowan <[email protected]> | | Ray Dillinger scripsit: | | > We already have examples of at least most of these behaviors in | > extant schemes; MIT/GNU (and many others) coerce to bignum, | | ... | > Stalin (and many others) silently wraparound | | So far I've only found Stalin and Chibi. | | > and I've seen at least one system that coerces to float | | Chicken (without -R numbers) | | > and one that reports an overflow error, | | Haven't found any of those.
SCM version 5e6, Copyright (C) 1990-2006 Free Software Foundation. > (do ((num 2 (* num num))) (#f)) ;ERROR: bignum: numerical overflow; NUMDIGS_MAX < 1026 ; in expression: (#...@* #...@num #...@num) ; in scope: ; (num . #...@do) ;STACK TRACE 1; (#...@do ((num 2 (#...@* #...@num #...@num))) (#f #<unspecified>) ) ... _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
