Complex Math In C/C++ (what can you think of)

Started by
4 comments, last by DevLiquidKnight 20 years, 8 months ago
I was wondering what are some of the most complex ways you can think of to add a number (any number say 9) or subtract a number from a varible in 1 line of C.C++ code. coder requires 0xf00d before continue().
Killer Eagle Software
Advertisement
Why?
Zorx (a Puzzle Bobble clone)Discontinuity (an animation system for POV-Ray)
var1 = 1+1;


that''s pretty complex, if you ask me.
2 + 2 = 5 for extremely large values of 2
there was some tread about this in the lounge some time ago

My Site
Just wondering what people will come up with for fun mostly.

coder requires 0xf00d before continue().

Killer Eagle Software
Here''s the lounge thread.

This topic is closed to new replies.

Advertisement