Re: ones and twos compliment

[email protected] (Elizabeth Mattijsen) Sat, 7 Jun 2025 21:57:40 +0200
Newsgroups perl.perl6.users
Message-ID <[email protected]>
> On 7 Jun 2025, at 21:12, ToddAndMargo via perl6-users <[email protected]> wrote:
> [0] > my int32 $y=-1073741510
> -1073741510
> 
> [1] > my $ones-complement = +^$y;
> Bytecode validation error at offset 164, instruction 23:
> operand type 32 does not match register type 24 for op getlex_ni in frame <unit>
> 
> [1] > my $twos-complement = +^$y + 1;
> Bytecode validation error at offset 164, instruction 23:
> operand type 32 does not match register type 24 for op getlex_ni in frame <unit>
> 
> No idea where to report this to.

Confirmed on blead.  Consider it reported.  Thanks!


Liz