From 6634622d54c5a26dca9d1963974ec735261c13cd Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 28 Jun 2013 02:01:53 -0700 Subject: Fixed c thing --- c.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c.html.markdown') diff --git a/c.html.markdown b/c.html.markdown index a8df2e1b..4ac05299 100644 --- a/c.html.markdown +++ b/c.html.markdown @@ -132,7 +132,7 @@ f1 / f2; // => 0.5, plus or minus epsilon ~0x0F; // => 0xF0 (bitwise negation) 0x0F & 0xF0; // => 0x00 (bitwise AND) 0x0F | 0xF0; // => 0xFF (bitwise OR) -0x04 | 0x0F; // => 0x0A (bitwise XOR) +0x04 ^ 0x0F; // => 0x0B (bitwise XOR) 0x01 << 1; // => 0x02 (bitwise left shift (by 1)) 0x02 >> 1; // => 0x01 (bitwise right shift (by 1)) -- cgit v1.2.3