3
votes
Vote UpVote

Coin Flip

Nick Hodges – 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, thought you all might enjoy it, too. Share This | Email this page to a friend
Favorite? Off-Topic? Nick Hodges @ 2010-05-31 04:28

Statistics

Visits: 754
Votes: 3
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Barton_Stano
jamiei
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)