Subject: Re: bug#23111: 25.0.92; logxor leading zero missed

From: Andreas Röhler <[email-masked]>
Date: Fri, 25 Mar 2016 19:57:17 +0100

On 25.03.2016 17:00, Michael Heerdegen wrote:
> Andreas Röhler <[email-masked]> writes:
>
>> (logxor 110 011) ==> 101 ; right
>> (logxor 110 101) ==> 11  ; leading zero is missed
> I think this is expected: logxor returns an integer, and "11" and "011"
> are just different printed representations for the same number: 11.  The
> lisp printer can't know that in this special case, it would make sense
> to print 11 differently.  Even if it did, this wouldn't make any
> difference for coding anyway.
>
>
> Michael.

close 23111

Okay, thanks. Nesting it works as expected. Seem no problem indeed.

(logxor (logxor 110 101)(logxor 110 001)) ==> 100