Re: [Felix-language] binary not

2007-04-13 Thread skaller
On Fri, 2007-04-13 at 15:20 +0100, Rhythmic Fistman wrote: > On 4/13/07, skaller <[EMAIL PROTECTED]> wrote: > > > Signed types don't support bitwise operations > > Why not? The semantics are platform dependent in C: in C89 the semantics are indeterminate. The C90 standard has words that make it

Re: [Felix-language] binary not

2007-04-13 Thread Rhythmic Fistman
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 > > var x = 0u; > var y = bnot x; > print$ y; endl; > print$ int(y); e

Re: [Felix-language] binary not

2007-04-13 Thread skaller
On Fri, 2007-04-13 at 14:08 +0100, Rhythmic Fistman wrote: > How do I "not" an int? > The following doesn't work for me. > > #import > > var blah = 0; > > blah = bnot blah; Signed types don't support bitwise operations (even though Felix insists they're two's complement :) This works for me:

[Felix-language] binary not

2007-04-13 Thread Rhythmic Fistman
How do I "not" an int? The following doesn't work for me. #import var blah = 0; blah = bnot blah; - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to shar