Computer Science, asked by hemangagogoi86, 6 months ago

how to do decimal 0.5 to binary form ​

Answers

Answered by Anonymous
1

Answer:

0.1

Algorithm:

  1.    Divide the 0.5 by 2.
  2.    Get the integer quotient for the next iteration.
  3.    Get the remainder for the binary digit.
  4.    Repeat the steps until the quotient is equal to 0.

Similar questions