quakeforge/tools/qfcc/test/old/test2.qc

9 lines
170 B
C++
Raw Normal View History

2011-02-13 10:02:39 +00:00
float (float a, float b) idiv =
{
return ((a & -1) / (b & -1)) & -1;
};
float (float a, float b) imod =
{
return (a & -1) - (b & -1) * (((a & -1) / (b & -1)) & -1);
};