Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: (tye)Re: one-liner hogs

by Boldra (Deacon)
on Feb 01, 2001 at 19:29 UTC ( #55712=note: print w/ replies, xml ) Need Help??


in reply to (tye)Re: one-liner hogs
in thread one-liner hogs

Nice Tye, but I honestly can't see myself memorising your floats one :)



Comment on Re: (tye)Re: one-liner hogs
Replies are listed 'Best First'.
(tye)Re2: one-liner hogs
by tye (Cardinal) on Feb 01, 2001 at 20:55 UTC

    Okay, I spent a bit more time and found 3 prime numbers that are easier to remember. I updated the original message changing:

    Floats: perl -e '$_= ($_*36217+41081) % 492391271 while 1'

    to

    Floats: perl -e '$_= ($_*76543+23456789) % 1234567891 while 1'
    Now that is much easier to remember. Thanks!

            - tye (but my friends call me "Tye")

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://55712]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (13)
As of 2015-07-29 20:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (268 votes), past polls