answersLogoWhite

0


Best Answer

a signed number is one that can be negative (have a sign) whereas an unsigned number will only be positive. due to less information, you can double the largest number storable in a signed integer to get the data available in an unsigned integer. However, PHP doesn't have unsigned integers, they're all signed.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Difference between signed number from unsigned number?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between a signed and unsigned article?

A signed article identifies the writer whereas an unsigned article does not identify the author.


Difference between an unsigned and a signed type?

The qualifier signed or unsigned may be applied to char or any integer. unsigned numbers are always positive or zero, and obey the laws of arithmetic modulo 2n, where n is the number of bits in the type. So, for instance, if charsare 8 bits, unsigned charvariables have values between 0 and 255, while signed charshave values between -128 and 127 (in a two's complement machine.) Whether plain charsare signed or unsigned is machine-dependent, but printable characters are always positive.


Difference between signed and unsigned int?

A signed integer is one with either a plus or minus sign in front. That is it can be either positive or negative.An unsigned integer is assumed to be positive


What is the difference between unsigned and int?

The value range. Example for 16-bit integers: signed: -32768..32767 unsigned: 0..65535


What is the difference between signed integer and unsigned integer?

An unsigned integer cannot be negative. It has a maximum positive value twice that of a signed integer. Max signed: 128 Max signed: 256 I could be off by one there, though.


What is the difference between signed integer and unsigned integer in terms of memory and range?

Signed integer is any integer that carries negative sign while unsigned integer is any integer that carries positive sign


What is difference between unsignedint and signedint in c language?

Unsigned int does not have a sign, meaning that it can be zero or a positive number in the range of data type (int). Signed data has a sign and can be positive, zero or negative.


What is the largest number that can be stored in 16bits?

32767 signed, 65535 unsigned.


What is the difference between carryout and overflow?

in carry out the answer does not effect but with the overflow the answer come wrong.overflow come due to signed numbers and carry come due to unsigned.


What are the difference between signed and unsigned data types?

A signed integer represents both positive and negative values, while an unsigned integer represents only positive values. Range depends on the number of bits the compiler assigns for the representation. bits max-negative max-positive max-unsigned 8 -128 +128 255 16 -32768 +32767 65535 32 -2147483648 +2147483647 4294967295 64 -9223372036854775808 +9223372036854775807 18446744073709551615


The twos complement of 11001101 is?

00110011 is the 2's complement for this unsigned number and 10110011 if this is a signed number


Is the largest 16 bit positive number?

Unsigned: 216-1. Signed: 215-1.