ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


rounding

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
rounding [2019/04/20 03:14] – [Rounding modes] korshunrounding [2019/04/20 03:15] – [Rounding functions in ACSUtils] korshun
Line 31: Line 31:
 Every rounding mode is available as two functions: Every rounding mode is available as two functions:
   * Functions without the ''i'' prefix return a fixed, e.g. ''floor(2.3) == 2.0''.   * Functions without the ''i'' prefix return a fixed, e.g. ''floor(2.3) == 2.0''.
-  * Functions with the ''i'' prefix return an int, e.g ''ifloor(2.3) == 2''.+  * Functions with the ''i'' prefix return an int, e.g''ifloor(2.3) == 2''.
  
 ^ Mode  ^ fixed result ^ int result ^ ^ Mode  ^ fixed result ^ int result ^
rounding.txt · Last modified: 2019/08/26 21:02 by korshun