ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


constants:int_min

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
constants:int_min [2017/04/17 15:12] korshunconstants:int_min [2017/04/17 15:14] korshun
Line 3: Line 3:
  
 ===== Description ===== ===== Description =====
-The manimum possible value of an integer or fixed-point variable in ACS. 2^32 - 1.+The manimum possible value of an integer or fixed-point variable in ACS. -2^32.
  
 <note tip>INT_MAX is both the smallest integer and the smallest fixed-point number.</note> <note tip>INT_MAX is both the smallest integer and the smallest fixed-point number.</note>
Line 9: Line 9:
 <note important>''-[[INT_MAX]]'' is **NOT** equal to ''INT_MIN''.</note> <note important>''-[[INT_MAX]]'' is **NOT** equal to ''INT_MIN''.</note>
  
-<note important>''[[functions:abs]](INT_MIN)'' returns INT_MIN</note>+<note important>''[[functions:abs]](INT_MIN)'' returns INT_MIN, not INT_MAX.</note>
constants/int_min.txt · Last modified: 2017/04/17 15:15 by korshun