|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: built in function for binary divisionby moritz (Cardinal) |
| on Jan 11, 2013 at 06:34 UTC ( #1012806=note: print w/ replies, xml ) | Need Help?? |
|
All arithmetics in Perl is performed in binary. Though that's not really relevant, because the outcome would be the same if it were performed in any other base.
It's just the input and output of numbers that decimal by default; but as others have shown you, there are ways to achieve binary input too. So I guess the real question is: what do you want to achieve?
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||