Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Math::Base - arithmetics with baseX integers

by hdb (Monsignor)
on Aug 22, 2017 at 12:54 UTC ( #1197797=note: print w/replies, xml ) Need Help??


in reply to Math::Base - arithmetics with baseX integers (updated)

Here is my favorite example:

use Math::Base; my $one = Math::Base->new( 13, 6 ); my $two = Math::Base->new( 13, 9 ); print "$one times $two equals ", $one*$two, " base 13.\n";

Replies are listed 'Best First'.
Re^2: Math::Base - arithmetics with baseX integers
by shmem (Chancellor) on Aug 22, 2017 at 14:27 UTC

    Perfect for a mathematical challenge on facebook. As is 5 * 6 = 42
    :-P

    perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1197797]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2018-07-21 21:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (450 votes). Check out past polls.

    Notices?