News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Complex expressions

Started by ezgar, June 06, 2011, 01:26:11 AM

Previous topic - Next topic

qWord

jj,
MichaelW's example show an bit operator(it should be ~ instead of !), your are referring to an boolean operator.
EDIT: misunderstanding  :red
FPU in a trice: SmplMath
It's that simple!

MichaelW

"!=" is two characters but one operator. Now that I check under Run-Time Operators !expression is listed as logical negation. I don't have time ATM to investigate exactly what this means. I do know that using ! in my high-level statement in the same position as it was in the C statement made the high-level statement not behave as the compiled C statement did for two of my four (arbitrarily-selected) test cases. But leaving the ! out and reversing the sense of the equality did duplicate the behaviory for all four.


eschew obfuscation