[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 619
  • Last Modified:

Give an example of a number whose decimal representation is finite (i.e., it has only a finite number of nonzero digits) but whose binary representation is not.

Give an example of a number whose decimal representation is finite (i.e., it has only a finite number of nonzero digits) but whose binary representation is not.
0
panaz
Asked:
panaz
1 Solution
 
ozoCommented:
0.1
0
 
panazAuthor Commented:
what is the binary rep of 0.1?
0
 
panazAuthor Commented:
is it possible to represent floating point numbers in buinary?
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
panazAuthor Commented:
d
0
 
Jaime OlivaresSoftware ArchitectCommented:
yes, you can represent fp numbers in binary, as them really are stored as binary.
The concrete example depends on programming language.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now