04.06.2014, 21:43
Would this:
Be the exact same as this:
What is the difference between using these two methods (floatcmp and operators)? Is one more accurate, or are they just the same (similar to floatdiv)?
pawn Код:
if(floatcmp(1.0, 1.0) == 0)
if(floatcmp(1.0, 1.0) == -1)
if(floatcmp(1.0, 1.0) == 1)
pawn Код:
if(1.0 == 1.0)
if(1.0 < 1.0)
if(1.0 > 1.0)