Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: word size

by chanio (Priest)
on Sep 11, 2005 at 04:24 UTC ( #490977=note: print w/replies, xml ) Need Help??

in reply to word size

perl -e' use strict; my $bina; my $count; my $bits = ~(64); while ($bits) { prbit($bits); $bits >>= 1; $count++; } sub prbit { my $bi=shift; $bina.=($bi%2)? "0":"1"; } $bina=reverse($bina); print "$bina\n$count bit words are being used.\n";' __OUTPUTS__ 00000000000000000000000001000000 32 bit words are being used.
The Lords production is only eaten by the Lords...

Wherever I lay my KNOPPIX disk, a new FREE LINUX nation could be established

Replies are listed 'Best First'.
Re^2: word size
by collin (Scribe) on Sep 12, 2005 at 23:51 UTC least someone is going to humor me! We find ourselves with a fun base_10 to base_2 conversion.
    GOT_VOTES:{($collin{votes} > 0) ? do{$chanio++;last} : goto GOT_VOTES}

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://490977]
[LanX]: I don't get it
[LanX]: do I need to activate JS to see Trump loosing his wig?
[LanX]: aha ...
LanX Finally, there is a certain order or choreography to the greetings, which Kornhauser-Duda appears to have been following. First, the two heads of state shake hands, while the two first ladies do the same
[LanX]: FAKE NEWS , erix, so sad! Fired!

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2018-03-22 20:07 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (284 votes). Check out past polls.