English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How do I convert each of the following decimal quantities to binary?

-17.25 & 171/64 ?

2007-10-30 13:06:28 · 3 answers · asked by Paige 1 in Science & Mathematics Other - Science

3 answers

You first need to choose a binary representation. How many bits for the integer and fraction parts? Fixed or floating point? IEEE format? How would you represent the sign? A sign bit or ones-complement arithmetic? -10001.01 or 00010001.01000001 (last bit is sign)? Depending on your choices, a fraction like /13 might not have a representation.

2007-10-30 13:28:42 · answer #1 · answered by Anonymous · 0 1

You first need to choose a binary representation. How many bits for the integer and fraction parts? Fixed or floating point? IEEE format? How would you represent the sign? A sign bit or ones-complement arithmetic? -10001.01 or 00010001.01000001 (last bit is sign)? Depending on your choices, a fraction like /13 might not have a representation.

2007-10-31 15:25:35 · answer #2 · answered by Frank N 7 · 0 0

I have listed a source.

2007-10-30 21:02:28 · answer #3 · answered by cidyah 7 · 0 0

fedest.com, questions and answers