Login
Remember
Register
Questions
Hot!
Categories
Ask a Question
Ask a Question
What are the max/min values for unsigned integers of w bits? What about unsigned ints?
0
votes
asked
Sep 25
in
General Knowledge
by
iskralawrence
(
744k
points)
What are the max/min values for unsigned integers of w bits? What about unsigned ints?
Facebook
Twitter
LinkedIn
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
1
Answer
0
votes
answered
Sep 25
by
iskralawrence
(
744k
points)
Best answer
Unsigned:
Min: 0
Max: 2^w - 1
Signed:
Min: -2^(w-1)
Max: 2^(w-1) - 1
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Welcome to the Answerine , a great place to find, read and share your favorite questions and answers.
Related questions
0
votes
1
answer
The terms "____" and "____" are used for comparisons of signed integers and the terms "____" and "____" are used for unsigned integers.
asked
Sep 25
in
General Knowledge
by
iskralawrence
(
744k
points)
0
votes
1
answer
Why do you want to work for Rev? (min 200, max 500)
asked
Oct 26
in
General Knowledge
by
monikakim
(
555k
points)
0
votes
1
answer
What integer values can 4 bits of B2O represent? What about B2S?
asked
Sep 25
in
General Knowledge
by
iskralawrence
(
744k
points)
0
votes
1
answer
Give an example where IEEE 754 encoded values are less precise than integers.
asked
Sep 25
in
General Knowledge
by
iskralawrence
(
744k
points)
0
votes
1
answer
w SnO2 + x H2 ---------> y Sn + z H2O For which of the following values of w, x, y and z will the equation above be balanced?
asked
Oct 21
in
General Knowledge
by
iskralawrence
(
744k
points)
...