System.Comp

From RAD Studio VCL Reference
Jump to: navigation, search

C++ Information

From System.hpp

Comp = class(CompBase)


Unit: System

Type: class

Inherited Class Members: System.Comp Members

Class Methods: System.Comp Methods

Class Constructors & Destructors: System.Comp Constructors

Description

Represents a type for numbers that can be represented with floating-point notation.


The Comp (computational) type is native to the Intel processor architecture and represents a 64-bit integer. It is classified as real, however, because it does not behave like an ordinal type (for example, you cannot increment or decrement a Comp value.) Comp is maintained for backward compatibility only. Use the Int64 type for better performance.

The range for the Comp type is from -2^63+1 through 2^63-1. The size in bytes of a Comp value is 8.

See Also

Personal tools
Translations
Newest Version