Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Math::Base - arithmetics with baseX integers

by hdb (Monsignor)
on Aug 22, 2017 at 12:54 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-19 05:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found