ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


constants:int_min

This is an old revision of the document!


INT_MIN

int INT_MIN = -2147483648;

Description

The manimum possible value of an integer or fixed-point variable in ACS. 2^32 - 1.

INT_MAX is both the smallest integer and the smallest fixed-point number.
-INT_MAX is NOT equal to INT_MIN.
abs(INT_MIN) returns INT_MIN, not INT_MAX.
constants/int_min.1492431266.txt.gz · Last modified: 2017/04/17 15:14 by korshun