Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

how to get a 64bit random number with rand() ?

by iglake (Novice)
on Mar 21, 2018 at 12:11 UTC ( [id://1211410]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    0000000000000000010111100101110000011011100101010001000000001111 00005
    +E5C1B95100F
    0000000000001100111011111010100001011001101001100011011101111111 000CE
    +FA859A6377F
    ...
    0000000000000111011111011100100001010101101101111111000001111111 00077
    +DC855B7F07F
    0000000000001110110001011111000001110111011001000110011100101111 000EC
    +5F07764672F
    0000000000001101011110001010000111001010101101010001000000011111 000D7
    +8A1CAB5101F
    
  2. or download this
    #!/usr/bin/perl
    $|++;
    ...
      printf "\r%064b %016X\n",$n,$n;
    }
    exit $?;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1211410]
Approved by marto
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-25 13:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found