Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-01-2016, 08:44 PM   #1
Relic
So Fucking Banned
 
Join Date: Aug 2002
Posts: 10,300
only harmon please

:::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::
:: This program creates a binary file containing 11+ megabytes ::
:: of 32-bit integers from a multiply-with-carry generator ::
:: x(n)=a*x(n-1)+carry mod 2^32 ::
:: You choose the multiplier from a list and specify the name of ::
:: the file to be created. The period of the generator will be ::
:: a*2^31-1. This class of generators is particularly well sui- ::
:: ted for implementation in machine language, and I predict ::
:: that many system generators in the future will be of this ::
:: class rather than the linear congruential generators for mo- ::
:: dulus 2^32 that are common today. ::
:: To illustrate how the `carry' works, suppose from the ::
:: current (32-bit) x and (30 bit) c, one forms a*x+c. This may ::
:: be done in a 64-(or double 32-) bit register in most modern ::
:: CPU's. Then the new random x is the lower 32 bits, the new ::
:: carry the upper 32. To see how well such a simple and fast :: ::
:: generator performs on tests of randomness, this program makes ::
:: a large file with the multiply-with-carry generator implemen- ::
:: ted in 16-bit integer arithmetic. Those finding it suitable ::
:: may wish to make an assembler version for their system. ::
:: It seems to pass all tests. ::
:::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::
:: This program creates the binary file mwc1616.32, containing ::
:: 11+ megabytes of integers made by concatenating two 16-bit ::
:: multiply-with-carry generators. ::
:: The two generators have the form ::
:: x(n)=a*x(n-1)+carry mod 2^16 and ::
:: y(n)=b*y(n-1)+carry mod 2^16, ::
:: with suggested choices for multipliers `a' and `b'. ::
:: The `carry' c works as follows: If a and x are 16-bit and ::
:: c at most 14 bits, then forming a*x+c produces an at-most 31- ::
:: bit result. That result mod 2^16 (the rightmost 16 bits) is ::
:: the new x and the topmost 16 bits the new carry c. The sequ- ::
:: ence of resulting x's has period the order of 2^16 in the ::
:: group of residues relatively prime to m=a*2^16-1, which will ::
:: be a*2^15-1 for the multipliers suggested here. ::
:: You will be prompted to choose a and b and two seeds. Output ::
:: is a 32-bit integer, the pair x,y side by side. ::
:: This multiply-with-carry generator is best done in assembler, ::
:: where it takes about 200 nanosecs with a Pentium 120. A Fort- ::
:: ran version takes about 300 ns. It seems to pass all tests ::
:: and is highly recommended for speed and simplicity. ::
:: The essence of a version in C requires only two statements: ::
:: x=a*(x&65535)+(x>>16); y=b*(y&65535)+(y>>16); ::
:: if x and y are 32-bit integers with carry in the top and out- ::
:: put in the bottom half. The 32-bit integer returned is ::
:: (x<<16)+(y&65525); ::
:::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::
:: ----------------------------------------------------------- ::
:: 18000 18030 18273 18513 18879 19074 19098 19164 19215 19584 ::
:: 19599 19950 20088 20508 20544 20664 20814 20970 21153 21243 ::
:: 21423 21723 21954 22125 22188 22293 22860 22938 22965 22974 ::
:: 23109 23124 23163 23208 23508 23520 23553 23658 23865 24114 ::
:: 24219 24660 24699 24864 24948 25023 25308 25443 26004 26088 ::
:: 26154 26550 26679 26838 27183 27258 27753 27795 27810 27834 ::
:: 27960 28320 28380 28689 28710 28794 28854 28959 28980 29013 ::
:: 29379 29889 30135 30345 30459 30714 30903 30963 31059 31083 ::
:: ----------------------------------------------------------- ::
:::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::
:: This program creates a binary file, mthr4.32, with 11 mgbytes::
:: of 32-bit integers from the multiply-with-carry generator ::

x(n)=2111111111x(n-4)+1492x(n-3)+1776x(n-2)+5115x(n-1)+carry mod 2^32.

:: The period of this generator is about 2^160. It is one of ::
:: what I called "The Mother of All Random Number Generators", ::
:: a few years ago when use of `Mother of All...' was topical ::
:: and could be used for showing bombast, defiance or derision.::
:: All apply to the usage here. The `carry' part, c, is the ::
:: multiple of the modulus b=2^32 dropped in the reduction; for::
:: example, if the linear combination with the current four x's ::
:: and carry c produced the result 125*b+3621, then the new x ::
:: becomes 3621 and the new carry 125. The big advantage of this::
:: and other multiply-with-carry generators is that they allow ::
:: use of modulus 2^16 & 2^32 without the trailing-bits regular-::
:: ities encountered in congruential sequences for such moduli. ::
:: But that advantage has to be gained through assembly language::
:: if b=2^32, as no common high level language seems to allow ::
:: access to the top 32 bits of the 64-bit product of two 32-bit::
:: integers. See also the file make1616.exe and makemwc1.exe ::
:::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::
:: This program creates the binary file kiss.32, containing ::
:: 11+ megabytes of integers from the generator KISS, which com- ::
:: bines three simple generators. The acronym KISS means ::
:: Keep It Simple Stupid ::
:: and the idea is to use simple, fast, individually promising ::
:: generators to get a composite that will be fast, easy to code ::
:: have a very long period and pass all the tests put to it. ::
:: The three components of KISS are ::
:: x(n)=a*x(n-1)+1 mod 2^32 ::
:: y(n)=y(n-1)(I+L^13)(I+R^17)(I+L^5), ::
:: z(n)=2*z(n-1)+z(n-2) +carry mod 2^32 ::
:: The y's are a shift register sequence on 32bit binary vectors ::
:: period 2^32-1; see the description in executing makesupr.exe. ::
:: The z's are a simple multiply-with-carry sequence with period ::
:: 2^63+2^32-1. The period of KISS is thus ::
:: 2^32*(2^32-1)*(2^63+2^32-1) > 2^127 ::
:: KISS is particularly well suited for assembler programming, ::
:: where it takes about 200 nanosecs with a Pentium 120. ::
:: It seems to pass all tests and is highly recommended for ::
:: speed and simplicity (for generators with that long a period) ::
:: :::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::: ::
Relic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2016, 08:45 PM   #2
Relic
So Fucking Banned
 
Join Date: Aug 2002
Posts: 10,300
Your thoughts harmon?
Relic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2016, 09:38 PM   #3
xXXtesy10
Fakecoin Investor
 
xXXtesy10's Avatar
 
Industry Role:
Join Date: Jul 2012
Location: New Delhi, IN
Posts: 7,128
fuck off roll tubes
__________________
WARNING: Stay Away From Marlboroack aka aka Brandon Ackerman
https://gfy.com/21169705-post8.html
Donny Long is Felon, Stalker, Scammer & Coward
http://www.ripoffreport.com/reports/...lon-int-761244
xXXtesy10 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2016, 09:43 PM   #4
SBJ
So Fucking Fabulous
 
SBJ's Avatar
 
Industry Role:
Join Date: Apr 2003
Location: Indiana
Posts: 11,375
checks to see if my username says harmon cause I forget who I am..
SBJ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2016, 09:48 PM   #5
BIGTYMER
Junior Achiever
 
BIGTYMER's Avatar
 
Industry Role:
Join Date: Nov 2004
Location: Walled Garden
Posts: 17,066
BIGTYMER is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2016, 11:11 PM   #6
dillfly2000
hey
 
dillfly2000's Avatar
 
Industry Role:
Join Date: Mar 2012
Location: with you
Posts: 2,209
Hey guys, what's going on??
__________________
Chaturbate Affiliate
dillfly2000 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2016, 11:42 PM   #7
kkkkkk
svp get banned svp
 
Industry Role:
Join Date: Dec 2005
Posts: 1,628
Quote:
Originally Posted by dillfly2000 View Post
Hey guys, what's going on??
kkkkkk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2016, 11:48 PM   #8
kkkkkk
svp get banned svp
 
Industry Role:
Join Date: Dec 2005
Posts: 1,628
Quote:
Originally Posted by xXXtesy10 View Post
fuck off roll tubes
R-word | Spread the Word to End the Word
kkkkkk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2016, 12:53 AM   #9
Penny24Seven
So Fucking What
 
Penny24Seven's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: USA
Posts: 6,289
Harmon loves when you keep talking about him when he is at home working a double.
__________________
Our site is coming soon. It will be one of the best ever! I know so. Brian and Penny
Penny24Seven is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2016, 01:07 AM   #10
Coup
🚨 PBBC International 🚨
 
Industry Role:
Join Date: Apr 2010
Location: /👁\
Posts: 9,932
I thought Harmon was banned?
Coup is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2016, 01:26 AM   #11
Ferus
Bye - Left to do stuff
 
Industry Role:
Join Date: Feb 2013
Posts: 4,109
diehard tests are the mothers of all Monte Carlo Work
Ferus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2016, 03:00 AM   #12
Relic
So Fucking Banned
 
Join Date: Aug 2002
Posts: 10,300
Quote:
Originally Posted by Ferus View Post
diehard tests are the mothers of all Monte Carlo Work
Relic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2016, 03:20 AM   #13
nightslit
Confirmed User
 
Industry Role:
Join Date: Oct 2013
Location: France
Posts: 226
Nice concept, but for what purpose?
__________________
email: [email protected] email me for link trades/hardlink exchanges
ICQ : 665974711
my sites: http://hardcoreteenfuck.com
nightslit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2016, 03:46 AM   #14
PornDiscounts-V
Confirmed User
 
PornDiscounts-V's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: L.A.
Posts: 5,740
That was pure porn for me!
__________________
Blog Posts - Contextual Links - Hardlinks on 600+ Blog Network
* Handwritten * 180 C Class IPs * Permanent! * Many Niches! * Bulk Discounts! GFYPosts /at/ J2Media.net
PornDiscounts-V is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2016, 06:11 AM   #15
CPA-Rush
small trip to underworld
 
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
Quote:
Originally Posted by BIGTYMER View Post
__________________

automatic exchange - paxum , bitcoin,pm, payza

. daizzzy signbucks caution will black-hat black-hat your traffic

ignored forever :zuzana designs
CPA-Rush is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2016, 02:48 PM   #16
brassmonkey
Pay It Forward
 
brassmonkey's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: Yo Mama House
Posts: 76,915
harmon posted in this thread
__________________
TRUMP 2025 KEKAW!!! - Support The Laken Riley Act!!!
END DACA - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com
brassmonkey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2016, 02:56 PM   #17
OneHungLo
So Fucking Banned
 
Industry Role:
Join Date: May 2001
Location: Your mom's front hole
Posts: 40,910
Quote:
Originally Posted by Relic View Post
:::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::
:: This program creates a binary file containing 11+ megabytes ::
:: of 32-bit integers from a multiply-with-carry generator ::
:: x(n)=a*x(n-1)+carry mod 2^32 ::
:: You choose the multiplier from a list and specify the name of ::
:: the file to be created. The period of the generator will be ::
:: a*2^31-1. This class of generators is particularly well sui- ::
:: ted for implementation in machine language, and I predict ::
:: that many system generators in the future will be of this ::
:: class rather than the linear congruential generators for mo- ::
:: dulus 2^32 that are common today. ::
:: To illustrate how the `carry' works, suppose from the ::
:: current (32-bit) x and (30 bit) c, one forms a*x+c. This may ::
:: be done in a 64-(or double 32-) bit register in most modern ::
:: CPU's. Then the new random x is the lower 32 bits, the new ::
:: carry the upper 32. To see how well such a simple and fast :: ::
:: generator performs on tests of randomness, this program makes ::
:: a large file with the multiply-with-carry generator implemen- ::
:: ted in 16-bit integer arithmetic. Those finding it suitable ::
:: may wish to make an assembler version for their system. ::
:: It seems to pass all tests. ::
:::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::
:: This program creates the binary file mwc1616.32, containing ::
:: 11+ megabytes of integers made by concatenating two 16-bit ::
:: multiply-with-carry generators. ::
:: The two generators have the form ::
:: x(n)=a*x(n-1)+carry mod 2^16 and ::
:: y(n)=b*y(n-1)+carry mod 2^16, ::
:: with suggested choices for multipliers `a' and `b'. ::
:: The `carry' c works as follows: If a and x are 16-bit and ::
:: c at most 14 bits, then forming a*x+c produces an at-most 31- ::
:: bit result. That result mod 2^16 (the rightmost 16 bits) is ::
:: the new x and the topmost 16 bits the new carry c. The sequ- ::
:: ence of resulting x's has period the order of 2^16 in the ::
:: group of residues relatively prime to m=a*2^16-1, which will ::
:: be a*2^15-1 for the multipliers suggested here. ::
:: You will be prompted to choose a and b and two seeds. Output ::
:: is a 32-bit integer, the pair x,y side by side. ::
:: This multiply-with-carry generator is best done in assembler, ::
:: where it takes about 200 nanosecs with a Pentium 120. A Fort- ::
:: ran version takes about 300 ns. It seems to pass all tests ::
:: and is highly recommended for speed and simplicity. ::
:: The essence of a version in C requires only two statements: ::
:: x=a*(x&65535)+(x>>16); y=b*(y&65535)+(y>>16); ::
:: if x and y are 32-bit integers with carry in the top and out- ::
:: put in the bottom half. The 32-bit integer returned is ::
:: (x<<16)+(y&65525); ::
:::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::
:: ----------------------------------------------------------- ::
:: 18000 18030 18273 18513 18879 19074 19098 19164 19215 19584 ::
:: 19599 19950 20088 20508 20544 20664 20814 20970 21153 21243 ::
:: 21423 21723 21954 22125 22188 22293 22860 22938 22965 22974 ::
:: 23109 23124 23163 23208 23508 23520 23553 23658 23865 24114 ::
:: 24219 24660 24699 24864 24948 25023 25308 25443 26004 26088 ::
:: 26154 26550 26679 26838 27183 27258 27753 27795 27810 27834 ::
:: 27960 28320 28380 28689 28710 28794 28854 28959 28980 29013 ::
:: 29379 29889 30135 30345 30459 30714 30903 30963 31059 31083 ::
:: ----------------------------------------------------------- ::

:: :::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::: ::

Thread of the year.
OneHungLo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2016, 04:27 PM   #18
Relic
So Fucking Banned
 
Join Date: Aug 2002
Posts: 10,300
Quote:
Originally Posted by nightslit View Post
Nice concept, but for what purpose?
The Global Consciousness Project
Relic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-02-2016, 06:40 AM   #19
CaptainHowdy
Too lazy to set a custom title
 
CaptainHowdy's Avatar
 
Industry Role:
Join Date: Dec 2004
Location: Happy in the dark.
Posts: 92,993
I'm Harmon now ...
__________________
FLASH SALE INSANITY! deal with a 100% Trusted Seller
Buy Traffic Spots on a High-Quality Network

1 Year or Lifetime — That’s Right, Until the Internet Explodes!
CaptainHowdy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
32-bit, generators, generator, mod, multiply-with-carry, file, bits, 2^16, integer, version, bit, carry, 16-bit, tests, integers, program, megabytes, 11+, 2^32, xn=-1+carry, binary, result, takes, multipliers, suggested



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.