mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
49ca09a64f
I don't remember what half these tests were for :/
29 lines
558 B
C++
29 lines
558 B
C++
float (float x, float y, float z) foo =
|
|
{
|
|
return !x * y;
|
|
return !x / y;
|
|
return !x + y;
|
|
return !x - y;
|
|
return !x < y;
|
|
return !x <= y;
|
|
return !x > y;
|
|
return !x >= y;
|
|
return !x == y;
|
|
return !x != y;
|
|
return !x & y;
|
|
return !x | y;
|
|
return !x && y;
|
|
return !x || y;
|
|
return !x = y;
|
|
// return x & y = z; // XXX
|
|
// return x = y & z; // XXX
|
|
return x * y & z;
|
|
return x & y * z;
|
|
// return x && y = z; // XXX
|
|
// return x = y && z; // XXX
|
|
// return x && y || z;
|
|
// return x || y && z;
|
|
// return x < y == z;
|
|
// return x == y < z;
|
|
// return x * y = z;
|
|
};
|