On 4/13/07, skaller <[EMAIL PROTECTED]> wrote:

> Signed types don't support bitwise operations

Why not?

> (even though Felix insists they're two's complement :)
>
> This works for me:
>
> //////////////////////////
> #import <flx.flxh>
>
> var x = 0u;
> var y = bnot x;
> print$ y; endl;
> print$ int(y); endl;
> ///////////////////////////
> [EMAIL PROTECTED]:/work/felix/svn/felix/felix/trunk$ f noti
> 4294967295
> -1

Or why does int -> uint require an explicit cast?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Felix-language mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to