Arbitrary-precision integers (included): Difference between revisions

Line 1,240:
<syntaxhighlight lang="langur">val .xs = string 5 ^ 4 ^ 3 ^ 2
 
writeln .len(.xs), " digits"
val .len = len .xs
 
writeln .len, " digits"
if len(.lenxs) > 39 and s2s(.xs, 1..20) == "62060698786608744707" and
s2s(.xs, .len-1920 .. .len-1) == "92256259918212890625" {
 
if .len > 39 and s2s(.xs, 1..20) == "62060698786608744707" and
s2s(.xs, .len-19 .. .len) == "92256259918212890625" {
writeln "SUCCESS"
}
1,007

edits