longlong

Controls the availability of the long long type.

Syntax

#pragma longlong on | off | reset

Targets
All platforms.
Remarks

When the longlong pragma is enabled, the C or C++ compiler lets you define a 64-bit integer with the type specifier long long. This type is twice as large as a long int, which is a 32-bit integer. A variable of type long long can hold values from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.

An unsigned long long can hold values from 0 to 18,446,744,073,709,551,615.

This pragma does not correspond to any panel setting. To check this setting, use __option (longlong), described in Checking Settings.

This pragma is on in compiles that support the long long type by default. It is off in compiles that do not support, or cannot turn on, the long long type.