answersLogoWhite

0


Best Answer

Normally a computer allocates a certain amount of memory space to store a number. This means that larger numbers are rounded and so not as accurate. By specifying that a number is a long integer, it is allocated twice the amount of storage space.

For example, the largest integer that can be stored in 8-bits is 2^8 - 1 = 255.

By doubling the storage to 16 bit, it becomes 65535.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a long integer?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you get a negative integer with a positive integer and a negative integer?

As long as the negative integer is greater than the positive integer, a negative integer will result from addition, subtraction, multiplication, and division.


What is short integer?

In computer programming, a variable can be (among other things) an integer or a long integer. An integer can be any whole number in the range of -32,768 to 32,767 A long integer can be any whole number in the range of -2,147,483,648 tp 2,147,483,647 I have never heard of an "integer" variable being called a "short integer" but it makes a kind of sense. Note: The size of integer types is platform-dependent, but usually: short: 16 bits int: 32 bits (16 in archaic systems: MSDOS OS Windows16) long: 32 bits (64 in unix64) long long: 64 bits


What is the short integer data type in MS Access?

NUMBER (FieldSize= INTEGER)the opposite beingNUMBER (FieldSize = LONG INTEGER)A short integer is basically a smaller limit than a long integer. When defining a short integer the database will supply a slot in memory that is big enough to fit the biggest short int possible.


Is -35 An Integer?

No, to be an integer a number must not have a decimal value.


How integer classified in java?

int short byte long


Can integers be decimal numbers?

As long as the decimal part of the number is equal to zero, then a decimal number can be an integer. For example, 2.0 is an integer.


What is long components in the C programming language?

A 32 bit integer.


How do you make a 8 byte integer in C?

Use data-type 'long long' or 'int64_t' (from inttypes.h)


How will you convert wrapper integer into primitive integer in java?

All integeral wrapper class (Byte,Short,Integer,Long)contains the following valueOf() .public static wrappertype valueOf(String s,int radix);integer I=Integer.valueOf("1010",2);output is 10....


What do you mean by long integer and double integer?

Different computer languages use different amounts of memory to store integers. For example, C++ uses a minimum of 4 bytes, Java a min of 8 bytes. A long integer is one which is requires more bytes than the standard amount. When the storage requirement gets to twice the standard amount, the number becomes a double integer.


Is it true that the largest size for integer types is long int?

It is 'long long int' meaning 64 bit (8 byte).


How do you find the factorial of any number?

Given an integer, n, recursively multiply by n-1 until n is 1.unsigned long long fact (unsigned long long n) {return (n>1)?n*fact (n-1):1;}Note that an unsigned long long integer of 64 bits length can only accommodate factorials up to n=21. To cater for anyinteger you will need to use a variable-length integer type. The C language does not provide one as standard, but you will find third-party libraries that can cater for huge integers, typically storing the integer as a variable-length string.