Skip to content

Commit 8a8649e

Browse files
authored
Use literal hexadecimal notation with upper case (#10315)
Fixes #10314
1 parent ec789da commit 8a8649e

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

reference/5.1/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ The bitwise NOT operator is a unary operator that produces the binary
522522
complement of the value. A bit of 1 is set to 0 and a bit of 0 is set to 1.
523523

524524
For example, the binary complement of 0 is -1, the maximum unsigned integer
525-
(0xffffffff), and the binary complement of -1 is 0.
525+
(0xFFFFFFFF), and the binary complement of -1 is 0.
526526

527527
```powershell
528528
-bNot 10
@@ -535,7 +535,7 @@ For example, the binary complement of 0 is -1, the maximum unsigned integer
535535
```
536536
0000 0000 0000 1010 (10)
537537
------------------------- bNOT
538-
1111 1111 1111 0101 (-11, xfffffff5)
538+
1111 1111 1111 0101 (-11, 0xFFFFFFF5)
539539
```
540540

541541
In a bitwise shift-left operation, all bits are moved "n" places to the left,

reference/7.2/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ The bitwise NOT operator is a unary operator that produces the binary
522522
complement of the value. A bit of 1 is set to 0 and a bit of 0 is set to 1.
523523

524524
For example, the binary complement of 0 is -1, the maximum unsigned integer
525-
(0xffffffff), and the binary complement of -1 is 0.
525+
(0xFFFFFFFF), and the binary complement of -1 is 0.
526526

527527
```powershell
528528
-bNot 10
@@ -535,7 +535,7 @@ For example, the binary complement of 0 is -1, the maximum unsigned integer
535535
```
536536
0000 0000 0000 1010 (10)
537537
------------------------- bNOT
538-
1111 1111 1111 0101 (-11, xfffffff5)
538+
1111 1111 1111 0101 (-11, 0xFFFFFFF5)
539539
```
540540

541541
In a bitwise shift-left operation, all bits are moved "n" places to the left,

reference/7.3/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ The bitwise NOT operator is a unary operator that produces the binary
522522
complement of the value. A bit of 1 is set to 0 and a bit of 0 is set to 1.
523523

524524
For example, the binary complement of 0 is -1, the maximum unsigned integer
525-
(0xffffffff), and the binary complement of -1 is 0.
525+
(0xFFFFFFFF), and the binary complement of -1 is 0.
526526

527527
```powershell
528528
-bNot 10
@@ -535,7 +535,7 @@ For example, the binary complement of 0 is -1, the maximum unsigned integer
535535
```
536536
0000 0000 0000 1010 (10)
537537
------------------------- bNOT
538-
1111 1111 1111 0101 (-11, xfffffff5)
538+
1111 1111 1111 0101 (-11, 0xFFFFFFF5)
539539
```
540540

541541
In a bitwise shift-left operation, all bits are moved "n" places to the left,

reference/7.4/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ The bitwise NOT operator is a unary operator that produces the binary
522522
complement of the value. A bit of 1 is set to 0 and a bit of 0 is set to 1.
523523

524524
For example, the binary complement of 0 is -1, the maximum unsigned integer
525-
(0xffffffff), and the binary complement of -1 is 0.
525+
(0xFFFFFFFF), and the binary complement of -1 is 0.
526526

527527
```powershell
528528
-bNot 10
@@ -535,7 +535,7 @@ For example, the binary complement of 0 is -1, the maximum unsigned integer
535535
```
536536
0000 0000 0000 1010 (10)
537537
------------------------- bNOT
538-
1111 1111 1111 0101 (-11, xfffffff5)
538+
1111 1111 1111 0101 (-11, 0xFFFFFFF5)
539539
```
540540

541541
In a bitwise shift-left operation, all bits are moved "n" places to the left,

0 commit comments

Comments
 (0)