http://qs321.pair.com?node_id=1197797


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'