quakeforge/tools/qfcc/test/old/test2.qc
Bill Currie 49ca09a64f Clean up qfcc's test directory.
I don't remember what half these tests were for :/
2012-11-22 21:58:52 +09:00

8 lines
170 B
C++

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);
};