ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


constants:int_min

INT_MIN

int INT_MIN = -2147483648;

Description

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

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.txt · Last modified: 2017/04/17 15:15 by korshun