[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gawk compl()
From: |
Karel Zak |
Subject: |
Re: gawk compl() |
Date: |
Mon, 10 Oct 2005 19:27:29 +0200 |
On Mon, 2005-10-10 at 09:29 -0400, Andrew J. Schorr wrote:
> Hi Karel,
>
> On Mon, Oct 10, 2005 at 02:19:49PM +0200, Karel Zak wrote:
> > $ gawk 'BEGIN {printf("%#x\n", compl(0xFFFF0000)) }'
> > 0x1fffff0000ffff
> >
> > I see same output for 3.1.5, 3.1.4 and 3.1.3. It seems that version
> > 3.1.2 returns correct output (it means 0xffff).
>
> Actually, the code seems to be working correctly. Your code
>From my point of view it's regression between version 3.1.2 and >=3.1.3.
It means the code (or docs) is incorrect :-)
Karel
--
Karel Zak <address@hidden>