From: Nathaniel T. <na...@so...> - 2002-05-30 22:40:15
|
(I've posted this on the open discussion on the sourceforge site, but read that I should try here as well). I was playing with a random number generator, and was surpised to find that in JScheme (/ 1 2) was returning 0. If jscheme doesn't have exact rational numbers (I'm assuming it doesn't), wouldn't it make more sense to return 0.5 instead? An implemenation is free to silently do this, it says in R4RS. -nate =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Nathaniel Titterton na...@so... CITRIS PostDoc 341 Soda Hall, U.C. Berkeley, Berkeley, CA 94720 |