Braineos
DiscoverChallenges
Sign in
← Back to decks
Sign in to save your progress, vote, and build your own decks.Sign in

Unit 1.4.1 Data Types

9 cards·by gurundus
Study this deck
What are the two main methods for representing negative intergers in binary?
Sign and Magnitude and Twos Compliment
Why not use sign and magnitude?
It doesn't work with binary arithmetic
What is the first step of converting a number into twos compliment?
Represent the number in regular binary with a number of empty its before it
What is the second step of converting a number into twos compliment?
convert all zeros to ones and vice versa
What is the third step of converting a number to twos compliment?
add one to the number
how does normalized floating point representation work?
it is like standard form with the mantissa and hte amount it is shifted being called the exponent.
What is the first step of converting a number into floating point representation?
you find the first point in the number where a zero becomes a one, this is normalized form.
What is the second step of converting a number into a floating point number?
you count the amount of bits to the left this point is and that is your exponent
What is the third step in converting a number into a floating point number?
you take the highest power of two of the number and you put it at the end of the mantissa.