-
1 PIC S9(4) COMP Integer
"A 16-bit COBOL data type that represents signed arithmetic operations occupying 2 bytes of storage, and can take on values from -9999 to +9999 or -32768 to +32767. A PIC S9(4) COMP integer is normally analogous to an Integer data type in Microsoft© Visual Basic© and a Short Integer in C when referring to 32-bit." -
2 PIC S9(9) COMP Integer
"A 32-bit COBOL data type that represents a 4 byte signed arithmetic operation, and can take on values from -999999999 to +999999999 or -2147483648 to +2147483647, depending on compiler options. A PIC S9(9) COMP Integer is similar to a Long Integer in C."
См. также в других словарях:
Integer overflow — In computer programming, an integer overflow occurs when an arithmetic operation attempts to create a numeric value that is larger than can be represented within the available storage space. For instance, adding 1 to the largest value that can be … Wikipedia
Type system — Type systems Type safety Inferred vs. Manifest Dynamic vs. Static Strong vs. Weak Nominal vs. Structural Dependent typing Duck typing Latent typing Linear typing Uniqueness typing … Wikipedia
Signed zero — is zero with an associated sign. In ordinary arithmetic, −0 = +0 = 0. However, in computing, some number representations allow for the existence of two zeros, often denoted by −0 (negative zero) and +0 (positive zero). This… … Wikipedia
Integer (computer science) — In computer science, an integer is a datum of integral data type, a data type which represents some finite subset of the mathematical integers. Integral data types may be of different sizes and may or may not be allowed to contain negative values … Wikipedia
Data type — For other uses, see Data type (disambiguation). In computer programming, a data type is a classification identifying one of various types of data, such as floating point, integer, or Boolean, that determines the possible values for that type; the … Wikipedia
Short integer — In computer programming, a short integer is a data type that can represent a whole number which may take less storage, while having a smaller range, compared with a standard integer on the same machine.In C, it is denoted by short. A short… … Wikipedia
Primitive type — In computer science, primitive types as distinct from composite types are data types provided by a programming language as basic building blocks. Primitive types are also known as built in types or basic types .Depending on the language and its… … Wikipedia
C data types — C Standard Library Data types Character classification Strings Mathematics File input/output Date/time Memory allocation … Wikipedia
Arithmetic shift — In computer programming, an arithmetic shift is a shift operator, sometimes known as a signed shift (though it is not restricted to signed operands). For binary numbers it is a bitwise operation that shifts all of the bits of its operand; every… … Wikipedia
Stdint.h — is a header file in the C standard library introduced in the C99 standard library section 7.18 to allow programmers to write more portable code by providing a set of typedefs that specify exact width integer types, together with the defined… … Wikipedia
Comparison of Pascal and C — Programming language comparisons General comparison Basic syntax Basic instructions Arrays Associative arrays String operations … Wikipedia