Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 473b47d

Browse files
authored
1 parent 49efdeb commit 473b47d

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docs/t-sql/language-elements/bitwise-not-transact-sql.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,17 @@ FROM bitwise;
9090
(1 row(s) affected)
9191
```
9292

93-
The binary representation of 170 (`a_int_value` or `A`) is `0000 0000 1010 1010`. Performing the bitwise NOT operation on this value produces the binary result `1111 1111 0101 0101`, which is decimal -171. The binary representation for 75 is `0000 0000 0100 1011`. Performing the bitwise NOT operation produces `1111 1111 1011 0100`, which is decimal -76.
93+
The binary representation of 170 (`a_int_value` or `A`) is `0000 0000 0000 0000 0000 0000 1010 1010`. Performing the bitwise NOT operation on this value produces the binary result `1111 1111 1111 1111 1111 1111 0101 0101`, which is decimal -171. The binary representation for 75 is `0000 0000 0000 0000 0000 0000 0100 1011`. Performing the bitwise NOT operation produces `1111 1111 1111 1111 1111 1111 1011 0100`, which is decimal -76.
9494

9595
```
9696
(~A)
97-
0000 0000 1010 1010
98-
-------------------
99-
1111 1111 0101 0101
97+
0000 0000 0000 0000 0000 0000 1010 1010
98+
---------------------------------------
99+
1111 1111 1111 1111 1111 1111 0101 0101
100100
(~B)
101-
0000 0000 0100 1011
102-
-------------------
103-
1111 1111 1011 0100
101+
0000 0000 0000 0000 0000 0000 0100 1011
102+
---------------------------------------
103+
1111 1111 1111 1111 1111 1111 1011 0100
104104
```
105105

106106

0 commit comments

Comments
 (0)