Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1197797]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2022-05-24 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?