# New Ticket Created by Alex Jakimenko # Please include the string: [perl #125819] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=125819 >
Code: say 255.base(16, -100); Result: FF. Docs say (http://doc.perl6.org/routine/base#role_Real): “The optional $digits argument asks for that many digits of fraction (which may not be negative).” So there is something wrong. And also our classic stuff: Code: say 255.base(16, 9999999999999999999999999999999999999999999999999); Result: repeat count (-537617205517352961) cannot be negative in block <unit> at ./test.pl:2 Code: say 255.base(16, 9999999999999999999999999999999999999999999999999999999999999999999999999); Result: repeat count (-1) cannot be negative in block <unit> at ./test.pl:2
