Change FLO:RANDOM-UNIT (and consequently RANDOM) to exclude zero when
authorChris Hanson <org/chris-hanson/cph>
Wed, 10 Aug 2005 18:16:59 +0000 (18:16 +0000)
committerChris Hanson <org/chris-hanson/cph>
Wed, 10 Aug 2005 18:16:59 +0000 (18:16 +0000)
commit01d499e8de30a3f88cbdb8e162892e726a0ab5c7
treee02f752f33cdef75c1c6f90693ab2e65dd25c2fc
parent06e08750d101d82a6aa3e01a1fabf00c59304287
Change FLO:RANDOM-UNIT (and consequently RANDOM) to exclude zero when
generating floating-point random numbers.  Change initialization to
destructively modify *RANDOM-STATE* and DEFAULT-RANDOM-SOURCE.  Fix
bug: COPY-RANDOM-STATE! was copying the target to the source.
v7/src/runtime/random.scm