On Mon, May 13, 2002 at 10:55:55PM -0400, Josh wrote:
> hmm is that the problem?  im assuming that ^ is 'to the power of' in C... am
> i wrong?  x^y meaning x to the power of y?  if thats not how you do it, how
> do you do the syntax of exponents?

^ is a bit-wise xor.
^^ is a logical xor.
<< is a bitwise shift.
pow() is the mathematical power function.

K&R, chapter 1.9 and 2.6

Edwin

-- 
Edwin Groothuis      |           Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED]    |        Interested in MUDs? Visit Fatal Dimensions:
bash$ :(){ :|:&};:   |                    http://www.FatalDimensions.org/

Reply via email to