Re: not_bits() not_working()

new topic     » goto parent     » topic index » view thread      » older message » newer message

----- Original Message -----
From: "Al Getz" <Xaxo at aol.com>
To: "EUforum" <EUforum at topica.com>
Subject: not_bits() not_working()


>
>
> Hello,
>
> I've found that Euphorias not_bits() function doesnt really work
> correctly.
>
> For example:
>
> atom a,x
> a=2
>
> x=not_bits(a)
>
> --now x equals -3, which isnt correct.
> --x should be equal to the 8 digit hex equivalent of -3,
> --right?
>

Sorry Al, but it does exactly what I'd expect it to do. Each bit in the
32-bit value is reversed. If it didn't work this way a number of functions
in win32lib would fail.

--
Derek

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu