]> de.git.xonotic.org Git - xonotic/gmqcc.git/blob - tests/bitnot.qc
Fixes
[xonotic/gmqcc.git] / tests / bitnot.qc
1 void main() {
2     float a; a = 1;
3     float b; b = 1;
4     float c; c = 1;
5     float d; d = 1;
6
7     a &~= 1; // 0
8     b &= ~1; // 0
9     c &= ~d; // 0
10
11     print("a: ", ftos(a), "\nb: ",
12                  ftos(b), "\nc: ",
13                  ftos(c), "\n");
14 }