:radix form allows too-large place values #4469
<ShimmerFairy> m: say :16
Essentially, rakudo does the math on this form of radix without checking its place values if they're valid for the given radix.
I'm not entirely sure what is supposed to happen there.
With just one argument it acts as a pass-thru:
And with two values it seems to do the math correctly:
say :16[1,9999] # OUTPUT: «10015»
So what should be done exactly? Should we just error out on too-large values (even though it seems to be functional)?
On 2015-08-13 03:25:44, lue wrote: