Number - Integer - <math>\mathbb{Z} </math>

1 - About

An integer is the part of a number that is located at the left of the radix point.

In other word, it's a number without its fractional component.

Negative numbers without fractional components are still considered integers.

An integer in computer science is an exact numeric, with binary or decimal precision and scale of 0.

God made the integers; all else is the work of man

In a database, Integer means generally that the column shall be able to exactly represent integer values (i.e., values in increments of 1) in the range of at least <math>-2^{n − 1}</math> to <math>2^{n − 1} − 1</math> , where n is 64.

3 - Example


In this example, 13 is the integer.

4 - Property

Since the non-zero denominator q of the rational number may be equal to 1, every integer is a rational number.

5 - Function

Special Integer division:

  • Integer - Division
  • Integer - (Modulo|Modulus)

6 - Size

Integer max size is on some computer define by the size of a word.

This limitation may cause programs to crash. For example, if a programmer using the C language incorrectly declares as int a variable that will be used to store values greater than <math>2^{15}−1<math>, the program will fail on computers with 16-bit integers. That variable should have been declared as long, which has at least 32 bits on any computer.

7 - Documentation / Reference

Data Science
Data Analysis
Data Science
Linear Algebra Mathematics

Powered by ComboStrap