Positional Number System
Number System Base conversion2x vs 10yBinary Data OrganizationInteger representation
- unsigned integers use zero extension - signed integers use sign extension in short, extend the MSb until you have reached the sufficient num of bits integer operation overflow
addition of signed integers [same sign] 1. first bit should never change 2. ignore carry if there is IEEE 754 Floating point for single precision
Example: Given: 3.5₁₀ 1. 3.5₁₀ = 11.1₂ 2. 1.11 x 21 3. e' = 128₁₀ == 1000_0000₂ Answer: 1_1000000_110 0000...00000 IEEE 754 Floating point for single precision
test
Example: Given: 3.5₁₀ 1. 3.5₁₀ = 11.1₂ 2. 1.11 x 21 3. e' = 128₁₀ == 1000_0000₂ Answer: 1_1000000_110 0000...00000 Special cases floating single precision |
Cheatography
https://cheatography.com
do not use Cheat Sheet (DRAFT) by wayneswu
lmaolmaolmaolmaolmao
This is a draft cheat sheet. It is a work in progress and is not finished yet.