- -
Coin Flip
(
https://www.delphipraxis.net/151869-coin-flip.html)
DP News-Robot |
4. Jun 2010 18:33 |
Coin Flip
I had occasion to write a little routine called CoinFlip: function CoinFlip: Boolean; begin Result := Random > 0.5; end; I don’t know why I found it mildly amusing. And I bet someone will tell me that it is slightly biased in one direction. Because it is. Anyway, ... http://feeds.feedburner.com/~r/delph...~4/SS86g6p5gW0
More...
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:14 Uhr. |
|
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz