Author: Dieter Buerssner
Date: 13:01:34 01/08/03
Go up one level in this thread
On January 08, 2003 at 15:45:27, Robert Hyatt wrote: >On January 07, 2003 at 09:16:21, Uri Blass wrote: > >>2)I get a lot of remarks for movei and the most popular remark is >> >>external definition with no prior declaration >> >>Do I need to declare function before I use it. > >Yes you must. Hmmm - I don't see this. Can you cite a part of the C Standard, that shows, that you really "must"? >>5)operands are evaluated in unspecified order >> >>It is not my fault that the intel compiler does not know that the order of >>adding is not important because it does not know that calculating one expression >>does not change the second expression. >> >>Uri > >The order _is_ specific. That usually means you are mixing operators of >difference >precedence without using () to specify your chosen order of evaluation. Just >add >the parens to avoid some _ugly_ errors... The order, in which different terms are evaluated in aritmetic expressions is typically _not_ specific in C. Mixing operators of _different_ precedence without () is no problem at all. Normally, one would not want to write w = ((x*y) + z); instead of w = x*y + z; which is guaranteed to mean the same thing in C. Regards, Dieter
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.