Professional Documents
Culture Documents
Binary System Storing Integers Storing Fractions
Binary System Storing Integers Storing Fractions
Each
1-2
1-3
Binary
notation: Uses bits to represent a number in base two Limitations of computer representations of numeric values
Overflow occurs when a value is too big to be represented Truncation occurs when a value cannot be represented accurately
1-4
Bit
map techniques
Vector
techniques
1-5
Sampling
techniques
Used for high quality recordings Records actual audio Musical instruction digital interface Used in music synthesizers Records musical score
MIDI
1-6
1-7
The
traditional decimal system is based on powers of ten. Binary system is based on powers of two.
The
1-8
1-9
1-10
1-11
1-12
1-13
1-14
1.
Convert the following binary representation to its equivalent base ten form:
110.011 6 5/8
1-15
Twos
complement notation: The most popular means of representing integer values Excess notation: Another means of representing integer values Both can suffer from overflow errors.
1-16
1-17
1-18
1-19
6 -(-1)
1-20
1-21
1-22
Floating-point
Notation: Consists of a sign bit, a mantissa field, and an exponent field. Related topics include
1-23
1-24
Truncation error:
0
Sign bit
110
Exponent
1-25
1010
Mantissa
2 5
1-26