Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: built in function for binary division

by ww (Bishop)
on Jan 11, 2013 at 05:46 UTC ( #1012799=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    C:\>perl -E "my $result = 0b01011/0b11; say $result;"
    3.66666666666667 # output in decimal.
    
  2. or download this
    #! /usr/bin/perl
    use 5.014;
    
    ...
    
    #  Now, try this dividing -- oh, say, 6dec by 2dec...
    =cut
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2014-11-22 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (123 votes), past polls