Last active
August 29, 2015 14:05
-
-
Save perlpilot/8dcae28cfe73ea1778e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This code: | |
my $knowhow := nqp::knowhow().new_type(:repr("P6bigint")); | |
my $int := nqp::fromstr_I('23456789123456789012345678912345678', $knowhow); | |
say($int); | |
produces this output: | |
893965902 | |
with nqp-m (This is nqp version 2014.07-80-g4cf7f13 built on MoarVM version 2014.07-365-g29d2e7b) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment