heh..
this discussion is like.. kinda meaningless...
Its a function, its there, use it..
if I would have to program every tiny function myself everytime I needed something done, I would hate programming.. like some of you said... SGN() is unlikely to be your bottleneck, and if it is, you're doing something horribly wrong. People have been writing games for maaaaany years now, and we left the ancient practice of dreading speed hits with if-then statements long ago.
If you're THAT interested in optimizing, you wouldn't use blitzbasic in the first place.. hardly the fastes language out there.. :)
this discussion is like.. kinda meaningless...
Its a function, its there, use it..
if I would have to program every tiny function myself everytime I needed something done, I would hate programming.. like some of you said... SGN() is unlikely to be your bottleneck, and if it is, you're doing something horribly wrong. People have been writing games for maaaaany years now, and we left the ancient practice of dreading speed hits with if-then statements long ago.
If you're THAT interested in optimizing, you wouldn't use blitzbasic in the first place.. hardly the fastes language out there.. :)