Biased random?

Ivan Voras ivoras at __fer.hr__
Fri Aug 31 13:09:58 EDT 2007


Mark Dickinson wrote:

> That's because the call to abs() usually collapses two values to one
> (e.g. -2 and 2 both end up being 2),
> but there's only one integer n for which abs(n) == 0.

Ah. Need to sleep more.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20070831/aecc5abb/attachment.sig>


More information about the Python-list mailing list