Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Binary Math?

by athomason (Curate)
on Sep 30, 2003 at 22:01 UTC ( #295459=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    my $number2 = oct "0b$bitstring2";
    
    printf "%s + %s = %b\n", $bitstring1, $bitstring2, $number1 + $number2
    +;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://295459]
help
Chatterbox?
[karlgoethebier]: erix: OK Trial and Error. Thanks
[LanX]: <a name='anchor'> ?
[erix]: I'd just try <a id="header text on page"></a>
[LanX]: yep
[erix]: or Ctrl-U to view current html :P
[LanX]: name not id
[LanX]: id isn't approved AFAIK
[LanX]: name works
erix feels silly for having actually tested that contiguous values make no difference in CLUSTERing a table (At least, in postges)
[LanX]: Perl Monks Approved HTML tags

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-06-24 13:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (557 votes). Check out past polls.