Sign in to follow this  
Followers 0

a nice rng?

4 posts in this topic

Posted (edited) · Report post

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
0

Share this post


Link to post
Share on other sites

Posted · Report post

No mod.

I like it.

0

Share this post


Link to post
Share on other sites

Posted · Report post

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

0

Share this post


Link to post
Share on other sites

Posted · Report post

I agree and I feel the same about multiplication.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.