Signed number representation
βΆοΈ Here we would need to consider sign, meaning we represent both positive and negative numbers.
π Sign and magnitude
With this method we reserve the most significant bit of the left most bit for sign.
This bit is called sign bit.
range becomes from -2^n-1 -1 to 2^n-1 -1
@Computer_science_course
βΆοΈ Here we would need to consider sign, meaning we represent both positive and negative numbers.
π Sign and magnitude
With this method we reserve the most significant bit of the left most bit for sign.
This bit is called sign bit.
range becomes from -2^n-1 -1 to 2^n-1 -1
@Computer_science_course
Octal Number System
Z = {0,1,2,3,4,5,6,7};
Base = 8
π Each position to the left of a digit increases by a power of 8.
π Each position to the right of a digit decreases by a power of 8.
@Computer_science_course
Z = {0,1,2,3,4,5,6,7};
Base = 8
π Each position to the left of a digit increases by a power of 8.
π Each position to the right of a digit decreases by a power of 8.
@Computer_science_course
Hexadecimal Number System
Z = (0,1,2,3,4,5,6,7,8,9, A, B, C, D, E, F};
Base = 16
π Each position to the left of a digit increases by a power of 16.
π Each position to the right of a digit decreases by a power of 16.
@Computer_science_course
Z = (0,1,2,3,4,5,6,7,8,9, A, B, C, D, E, F};
Base = 16
π Each position to the left of a digit increases by a power of 16.
π Each position to the right of a digit decreases by a power of 16.
@Computer_science_course