Week 81 of 145 · TAOCP Vol 2: Seminumerical Algorithms

TAOCP 4.4 Radix Conversion

1 task, 3 steps. Open a task's steps to see exactly what to do; each guide has the detail.

Sign up or sign in to tick these off and give this week a due date.

By the end of this week you can

  • Use repeated division to convert an integer to another base.
  • Use repeated multiplication to convert a fraction to another base.
  • Explain why some short decimal fractions have infinite binary expansions.

Week 81 · Self-check

Three quick questions

Ungraded, and it never holds anything up. Pick an answer to see why.

  1. You convert 156 to octal by repeatedly dividing by 8. What is the result?
  2. What is the decimal fraction 0.625 in binary?
  3. You convert decimal 0.1 to binary by repeated doubling. What happens?

Nothing is saved while signed out.

Discussion

0 posts

Stuck on week 81, or finished early? Say what you tried and what happened. Hints over answers: full solutions go in a spoiler.

No posts yet. Ask a question or share a tip.

Sign in to postAnyone can read. Posting needs an account with a confirmed email.

Spot a mistake? Report it