Autosave: 2024-03-19 07:20:03
This commit is contained in:
		
							parent
							
								
									1f11a23e6e
								
							
						
					
					
						commit
						790dedf85d
					
				
					 2 changed files with 27 additions and 4 deletions
				
			
		| 
						 | 
					@ -6,11 +6,13 @@ tags: [binary, binary-encoding]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Summary
 | 
					## Summary
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- To represent negative integers in binary we use signed numbers.
 | 
					- To represent negative integers in binary we use signed numbers._Signed binary_
 | 
				
			||||||
 | 
					  includes negative integers, _unsigned binary_ does not.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
In order to represent negative integers in binary we use signed numbers.
 | 
					- The principal methnod for encoding signed binary numbers is called **two's
 | 
				
			||||||
**Signed binary** is basically binary where negative integers can be
 | 
					  complement**.
 | 
				
			||||||
represented. **Unsigned binary** is standard binary without negative integers.
 | 
					
 | 
				
			||||||
 | 
					## Related notes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
In order to represent negative integers alonside positive integers a natural
 | 
					In order to represent negative integers alonside positive integers a natural
 | 
				
			||||||
approach is to divide the available
 | 
					approach is to divide the available
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										21
									
								
								zk/Twos_complement.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								zk/Twos_complement.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,21 @@
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					id: gktb
 | 
				
			||||||
 | 
					title: Two's complement
 | 
				
			||||||
 | 
					tags: []
 | 
				
			||||||
 | 
					created: Tuesday, March 19, 2024
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Two's complement
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Summary
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- _Two's complement_ is a method for representing signed numbers (negative
 | 
				
			||||||
 | 
					  integers) in binary.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Detail
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Applications
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Related notes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[[Signed_and_unsigned_numbers|signed_and_unsigned_numbers]]
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue