Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 pondering the Monastery: (7)
As of 2015-07-03 08:35 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 (49 votes), past polls