Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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.

Posted on 2008-09-30
6
610 Views
Last Modified: 2013-11-13
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
Comment
Question by:panaz
6 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 22610102
0.1
0
 

Author Comment

by:panaz
ID: 22610134
what is the binary rep of 0.1?
0
 

Author Comment

by:panaz
ID: 22610150
is it possible to represent floating point numbers in buinary?
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 6

Accepted Solution

by:
RishadanPort earned 125 total points
ID: 22610173
0
 

Author Closing Comment

by:panaz
ID: 31501767
d
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 22610475
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Saving a setting for all users at runtime which is secure. 2 223
How hard is it to learn Agile, as a developer? 5 162
menu bar in visual basic 2013 1 648
recursion example 16 141
Setting up SVN Server using Windows and Apache Purpose of the document:       This article will explain the process of how to configure SVN repository in a windows environment using APACHE web server. What is SVN? (http://subversion.tigris.org/) …
Before You Read The Article Please make sure you understand these two concepts: Variable Scope (http://www.php.net/manual/en/language.variables.scope.php) and Property Visibility (http://www.php.net/manual/en/language.oop5.visibility.php).  And to …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question