mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 22:22:17 +00:00
11 lines
282 B
C++
11 lines
282 B
C++
void(string, ...) print = #1;
|
|
string(float) ftos = #2;
|
|
|
|
void(float a, float b) main = {
|
|
if (a == b) print("eq\n");
|
|
if (a != b) print("ne\n");
|
|
if (a > b) print("gt\n");
|
|
if (a < b) print("lt\n");
|
|
if (a >= b) print("ge\n");
|
|
if (a <= b) print("le\n");
|
|
};
|