Jump to content


Welcome to BrainDen.com - Brain Teasers Forum

Welcome to BrainDen.com - Brain Teasers Forum. Like most online communities you must register to post in our community, but don't worry this is a simple free process. To be a part of BrainDen Forums you may create a new account or sign in if you already have an account.
As a member you could start new topics, reply to others, subscribe to topics/forums to get automatic updates, get your own profile and make new friends.

Of course, you can also enjoy our collection of amazing optical illusions and cool math games.

If you like our site, you may support us by simply clicking Google "+1" or Facebook "Like" buttons at the top.
If you have a website, we would appreciate a little link to BrainDen.

Thanks and enjoy the Den :-)
Guest Message by DevFuse
 

Photo
- - - - -

a nice rng?


  • Please log in to reply
3 replies to this topic

#1 phil1882

phil1882

    Senior Member

  • Members
  • PipPipPipPip
  • 538 posts

Posted 23 June 2012 - 04:23 AM

so lately i've been studying random number generators out of sheer boredom.
i think i've devised a good one.
here it is in python.
http://pastebin.com/FPjqYphY

Edited by phil1882, 23 June 2012 - 04:30 AM.

  • 0

#2 Molly Mae

Molly Mae

    Moderator

  • Members
  • PipPipPipPip
  • 3188 posts
  • Gender:Male
  • Location:La Salle, Illinois, USA

Posted 25 June 2012 - 07:58 PM

No mod.

I like it.
  • 0

A recipe for honey-pickled apples


Awards:

Bonanova Gold Star

Spoiler for Molly's Rules to Live By

#3 phil1882

phil1882

    Senior Member

  • Members
  • PipPipPipPip
  • 538 posts

Posted 25 June 2012 - 08:26 PM

yeah I've found that mod is both expensive and a "poor" generator of randomness.
  • 0

#4 Molly Mae

Molly Mae

    Moderator

  • Members
  • PipPipPipPip
  • 3188 posts
  • Gender:Male
  • Location:La Salle, Illinois, USA

Posted 25 June 2012 - 10:33 PM

I agree and I feel the same about multiplication.
  • 0

A recipe for honey-pickled apples


Awards:

Bonanova Gold Star

Spoiler for Molly's Rules to Live By




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users