How to find the sign of a value?

Blitz3D Forums/Blitz3D Programming/How to find the sign of a value?

Amazing what eliminating a function call can do. :)

But, as with every performance test, this is pathological. Unless you're doing this test 10's of thousands of times per frame, the speed difference is not really a factor.