answersLogoWhite

0

An integer data type is any type of number without a fractional part.

Signed vs unsigned of any data type refers to whether or not that data type can store negative numbers (numbers with a negative sign). The typical way to store the sign information for a number is to reserve one bit of information to do so.

For a signed 32-bit integer (a common integer size), this means that there are 31 bits available to hold information about the value of the number and 1 bit reserved for signifying negatives. This means that the range of data for a 32-bit signed integer is [-2147483648, 2147483647].

If you use an unsigned 32-bit integer, you can use that extra bit to store more positive number values. The range of data for a 32-bit unsigned integer is [0, 4294967295].

in short law FOR n bits

signed rang[-2n-1 -------- 2n-1 -1]

unsigned rang [0----------2n-1]

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is the difference between Declaration and Assignment?

Declaration is basically defining data type and length and assignment is to assign the value. Below is the declaration -- var a integer /* this means we are declaring a variable a as integer data type */ a= 5 /* this is assignment,we are assigning 5 to variable a */


What are the key differences between floating point and integer data types?

The key difference between floating point and integer data types is how they store and represent numbers. Integer data types store whole numbers without any decimal points, while floating point data types store numbers with decimal points. Integer data types have a fixed range of values they can represent, while floating point data types can represent a wider range of values with varying levels of precision. Floating point data types are typically used for calculations that require decimal precision, while integer data types are used for whole number calculations.


What is the difference between OLAP and data mining?

difference between Data Mining and OLAP


What is the difference between allocation and search data structure?

difference between serch data structure and allocation data structure


What data type is age?

integer data type


What is the difference between data communication and data communication information2010to2013?

The scope of work and the educational requirements are the difference between data communication and data communication information.


What is the difference between econometric and mathematical economics?

Econometrics analyzes real-world data. Theory writes mathematical models.


What is the difference between primary data and secondary data Don't make it complicated please?

The difference between primary data and secondary data is that primary data is the information from the original research.


What is difference between '1' and 1 as for us a computer is concerned with respect to c plus plus?

When you type '1' in a C++ program, it is considered to be of character data type(char). When you type 1, it is considered to be of integer data type.


What is the difference between swap and real memory?

Data that has been paged or swapped out exist on swap/page files on disks. The data can be paged or swapped back into real memory when it is required. Data in real memory (typically RAM) can be accessed directly by the CPU. Accessing data in real memory is hundreds or thousands times quicker than accessing it via disk.


Can there be decimals in a coordinate?

Yes. In real data there usually are non-integer data points. When learning about lines and points we try to use simple points.


Expalain the difference between cyclical and seasonal variations in a data series?

Expalain the difference between cyclical and seasonal variations in a data series?