ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:abs

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
functions:abs [2017/04/17 15:12] korshunfunctions:abs [2017/04/17 15:13] korshun
Line 8: Line 8:
 Returns the absolute value of x. Returns the absolute value of x.
  
-<note important>''abs([[INT_MIN]])'' returns [[INT_MIN]].</note>+<note important>''abs([[constants:INT_MIN]])'' returns INT_MIN, not [[constants:INT_MAX]].</note>
  
 ===== Examples ===== ===== Examples =====
functions/abs.txt · Last modified: 2017/04/17 15:13 by korshun