Re: bitwise NOT

2020-01-14 Thread Todd Chester via perl6-users
On Tue, Jan 14, 2020 at 7:45 AM Paul Procacci > wrote: >> What is the syntax for a twos complement anyway? I'm not sure I understand the question. Two's compliment is +^ ... the routine you've been using. On Tue, Jan 14, 2020 at 12:33 AM

Re: Bug in the documentation

2020-01-14 Thread JJ Merelo
I already did. It's a rather nasty bug in the graph generation module. Will take some time. El mar., 14 ene. 2020 a las 18:16, ToddAndMargo () escribió: > > >> El lun., 13 ene. 2020 22:33, ToddAndMargo via perl6-users > >> mailto:perl6-users@perl.org>> escribió: > >> > >> Hi All, > >> > >>

Re: Bug in the documentation

2020-01-14 Thread JJ Merelo
I'd be grateful if you (or someone) raised this issue in the doc repo. El lun., 13 ene. 2020 22:33, ToddAndMargo via perl6-users < perl6-users@perl.org> escribió: > Hi All, > > https://docs.raku.org/type/UInt > > Type Graph > Type relations for 404 > > The chart is 404 missing > > To fix this,

Re: Bug to report: cardinal called an integer

2020-01-14 Thread JJ Merelo
El mar., 14 ene. 2020 1:24, ToddAndMargo via perl6-users < perl6-users@perl.org> escribió: > On 2020-01-13 15:16, Laurent Rosenfeld via perl6-users wrote: > > Your own record over the last years shows that you very often don't > > understand documentation (and I actually sometimes wonder whether

Re: bitwise NOT

2020-01-14 Thread Paul Procacci
>> What is the syntax for a twos complement anyway? I'm not sure I understand the question. Two's compliment is +^ ... the routine you've been using. On Tue, Jan 14, 2020 at 12:33 AM ToddAndMargo via perl6-users < perl6-users@perl.org> wrote: > >> On Mon, Jan 13, 2020 at 11:30 PM ToddAndMargo

Re: bitwise NOT

2020-01-14 Thread Gerard ONeill
A negative number (-A5) is the twos compliment of the positive number. A ones compliment is all the bits flipped. A twos compliment is a ones compliment plus one. So a ones compliment of (A5) is (-A5 - 1), which is -A6. So presumably, the twos compliment operator is (-). And I suppose for