The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Pseudo random number generator

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Vincent Foley

Posts: 512
Nickname: gnuvince
Registered: Apr, 2005

Vincent Foley is a hobbyist Rubyist.
Pseudo random number generator Posted: Nov 24, 2005 9:24 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Vincent Foley.
Original Post: Pseudo random number generator
Feed Title: Uncentered Mind
Feed URL: https://gnuvince.wordpress.com/feed/?cat=2
Feed Description: I ramble, you call me names, we have fun!
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Vincent Foley
Latest Posts From Uncentered Mind

Advertisement
Digg linked to an article that explained how pseudo-random numbers were generated. The formula was simple enough and the article mentionned that the real challenge was coming up with a good seed. I wrote a little method in Ruby to generate a random number, and I used an equation with the current time [...]

Read: Pseudo random number generator

Topic: Ruby Kata One -- Supermarket Pricing Previous Topic   Next Topic Topic: Revealing hidden assumptions in estimation

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use