How to convert an exponent to binary number?

In summary, to convert an exponent to a binary number, you can use the division algorithm or the method of repeatedly dividing by 2. The resulting remainders in reverse order will give you the binary representation of the exponent. However, it is important to note that the term "exponent" may be misleading in this context as it is simply a number being converted to binary form.
  • #1
MathematicalPhysicist
Gold Member
4,699
371
how to convert an exponent to binary number?
 
Last edited by a moderator:
Mathematics news on Phys.org
  • #2
What you say does not make much sense -- you can convert any number into any base you want.

Please provide an example of what you're trying to do so that we can help you better.

- Warren
 
  • #3
i read the next statement at this webpage:http://www.mersenne.org/math.htm
"Convert the exponent 23 to binary, you get 10111."
 
  • #4
That's not an exponent, just a number in binary form. To convert we do the following

16 8 4 2 1
1 0 1 1 1

So, we have one 16, no 8, one 4, one 2, and one 1. We sum them to get 16+4+2+1=23. The division algorithm can be used to convert from decimal to binary.

23-16=7, so we put a 1 in the 16 column.
7-8<0, so we put a 0 in the 8 column.
7-4=3. so we put a 1 in the 4 column.
3-2=1, so we put a 1 in the 2 column.
2-1=1, so we put a 1 in the 1 column.

Thus, 23 in binary form is 10111.
 
  • #5
The thing that was confusing was that you were asking about
"converting an exponent". You are really just asking about converting a number. The fact that the number happens to be an exponent in the formula is not important.

Another way to do the same thing is:

2 divides into 23 11 times with remainder 1
2 divides into 11 5 times with remainder 1
2 divides into 5 2 times with remainder 1
2 divides into 2 1 time with remainder 0
2 divides into 1 0 times with remainder 1

Now that we have reached "0 times" write the remainders in reverse order : 10111 base 2 is 23 base 10.
 
  • #6
HallsofIvys methods works for conversion from base 10 to any base, simply divide by the base, the remainder gives the digits in the new base, starting with the least significant.
 

1. What is the purpose of converting an exponent to a binary number?

Converting an exponent to a binary number allows for easier computation and representation of large numbers in a computer system, which uses binary as its base numbering system.

2. How do I convert a positive exponent to a binary number?

To convert a positive exponent to a binary number, repeatedly divide the exponent by 2, taking note of the remainders. The binary number will be the sequence of remainders in reverse order.

3. Can a negative exponent be converted to a binary number?

Yes, a negative exponent can be converted to a binary number. The process is similar to converting a positive exponent, but with the addition of a negative sign in front of the binary number.

4. Is there a faster way to convert an exponent to a binary number?

Yes, there are other methods such as using binary shifting and bit manipulation techniques that can perform the conversion faster for larger exponents.

5. Can I convert a decimal exponent to a binary number?

Yes, a decimal exponent can be converted to a binary number by first converting the decimal to a binary fraction, and then following the same steps as converting a positive exponent to a binary number.

Similar threads

  • General Math
Replies
2
Views
132
Replies
8
Views
910
  • General Math
Replies
2
Views
581
Replies
3
Views
663
  • General Math
Replies
5
Views
1K
Replies
8
Views
806
  • General Math
Replies
1
Views
560
Replies
6
Views
945
  • General Math
Replies
2
Views
523
Replies
4
Views
904
Back
Top