That makes sense (sloppy me) if you're aiming for really good randomness. Do you have a code snippet to demonstrate? I'm always drawn to mod because it's so concise.
-Max On 4/3/06, Christian Schulte <[EMAIL PROTECTED]> wrote: > Dear Boriss, > > I mentioned the issue before with random numbers, but here we go again: > never use modulo, use divison instead for scaling to the right range of > numbers. mod tends to not deliver good sequence of random numbers! > > Christian -- Be pretty if you are, Be witty if you can, But be cheerful if it kills you. _________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
