@ -41,6 +41,12 @@ while (<>) {
} elsif (m{^ld$}) {
my $x = pop @stack;
push @stack, log($x) / log(2);
} elsif (m{^0x[0-9a-fA-F]+$}) {
no warnings 'portable';
push @stack, hex($_);
} elsif (m{^0[0-7]+$}) {
push @stack, oct($_);
} else {
push @stack, $_;
}