1cb93a386Sopenharmony_ciint bit_not(int x) { return ~x; }
2cb93a386Sopenharmony_ci
3cb93a386Sopenharmony_ciint remainder(int x)    { return x %  2; }
4cb93a386Sopenharmony_ciint remainder_eq(int x) { return x %= 2;}
5cb93a386Sopenharmony_ci
6cb93a386Sopenharmony_ciint shl   (int x) { return x <<  1; }
7cb93a386Sopenharmony_ciint shl_eq(int x) { return x <<= 1; }
8cb93a386Sopenharmony_ciint shr   (int x) { return x >>  1; }
9cb93a386Sopenharmony_ciint shr_eq(int x) { return x >>= 1; }
10cb93a386Sopenharmony_ci
11cb93a386Sopenharmony_ciint bit_and   (int x) { return x &  1; }
12cb93a386Sopenharmony_ciint bit_and_eq(int x) { return x &= 1; }
13cb93a386Sopenharmony_ciint bit_or    (int x) { return x |  1; }
14cb93a386Sopenharmony_ciint bit_or_eq (int x) { return x |= 1; }
15cb93a386Sopenharmony_ciint bit_xor   (int x) { return x ^  1; }
16cb93a386Sopenharmony_ciint bit_xor_eq(int x) { return x ^= 1; }
17