2013-02-02 00:12:46 +00:00
|
|
|
void main() {
|
|
|
|
float a; a = 1;
|
|
|
|
float b; b = 1;
|
|
|
|
float c; c = 1;
|
|
|
|
float d; d = 1;
|
2013-08-26 08:25:29 +00:00
|
|
|
vector e; e = '1 1 1';
|
|
|
|
vector f; f = '1 1 1';
|
2013-02-02 00:12:46 +00:00
|
|
|
|
2013-08-29 11:19:19 +00:00
|
|
|
#ifdef __STD_FTEQCC__
|
2013-02-02 00:12:46 +00:00
|
|
|
a &~= 1; // 0
|
2013-08-29 11:19:19 +00:00
|
|
|
#else
|
|
|
|
a &= ~1; // 0
|
|
|
|
#endif
|
|
|
|
#ifdef __STD_GMQCC__
|
2013-02-02 00:12:46 +00:00
|
|
|
b &= ~1; // 0
|
|
|
|
c &= ~d; // 0
|
2013-08-29 11:19:19 +00:00
|
|
|
#else
|
|
|
|
b &~= 1; // 0
|
|
|
|
c &~= 1; // 0
|
|
|
|
#endif
|
|
|
|
#ifdef __STD_FTEQCC__
|
2013-08-26 08:25:29 +00:00
|
|
|
f &~= e; // '0 0 0'
|
2013-08-29 11:19:19 +00:00
|
|
|
#else
|
|
|
|
f &= ~e; // '0 0 0'
|
|
|
|
#endif
|
|
|
|
#ifdef __STD_GMQCC__
|
2013-08-26 08:25:29 +00:00
|
|
|
e &= ~e; // '0 0 0'
|
2013-08-29 11:19:19 +00:00
|
|
|
#else
|
|
|
|
e &~= e; // '0 0 0'
|
|
|
|
#endif
|
2013-02-02 00:12:46 +00:00
|
|
|
|
|
|
|
print("a: ", ftos(a), "\nb: ",
|
|
|
|
ftos(b), "\nc: ",
|
|
|
|
ftos(c), "\n");
|
2013-08-26 08:25:29 +00:00
|
|
|
print("e: ", vtos(e), "\n");
|
|
|
|
print("f: ", vtos(f), "\n");
|
2013-02-02 00:12:46 +00:00
|
|
|
}
|