ALERT

[FREE DEMO] Deploy Your Enterprise Cloud in Minutes

Long Integer

Definition - What does Long Integer mean?

A long integer is a data type in computer science whose range is greater (sometimes even double) than that of the standard data type integer. Depending on the programming language and the computer machine processor, the size of the long integer will vary. In some programming languages, the size of the long integer is standard and fixed across different platforms, while in others, it depends on the processor. There are certain programming languages that do not make use of long integers, but they are used in many programming languages for holding a long range of values, especially during mathematical computations.

Techopedia explains Long Integer

Like a standard type integer, long integers are represented as a set of binary digits. Long integers can be unsigned (representation of non-negative integers) or signed (representation of negative integers). Most programming language have defined the minimum and maximum value of the integers that can be represented by long integers.

The size of long integers in different programming languages is as followers:

  • ANSI C: Minimum 4 bytes
  • C++: Minimum 4 bytes
  • Visual Basic: Minimum 8 bytes
  • SQL Server: Minimum 8 bytes
  • C#: Minimum 8 bytes
  • VB.Net: Minimum 8 bytes
  • Java: Minimum 8 bytes
  • Pascal: Minimum 8 bytes

Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
Tweat cdn.techopedia.com
"Techopedia" on Twitter


'@Techopedia'
Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Resources
The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.