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:13] korshunrounding [2019/04/20 03:14] – [Rounding modes] korshun
Line 21: Line 21:
 ^  x   ^ round(x) ^ floor(x) ^ ceil(x) ^ trunc(x) ^ ^  x   ^ round(x) ^ floor(x) ^ ceil(x) ^ trunc(x) ^
 ^   1.3|         1|         1|        2|         1| ^   1.3|         1|         1|        2|         1|
-^   1.5|         2|         1|        2|         1|+^   1.5|    1 or 2|         1|        2|         1|
 ^   1.8|         2|         1|        2|         1| ^   1.8|         2|         1|        2|         1|
 ^  -1.3|        -1|        -2|       -1|        -1| ^  -1.3|        -1|        -2|       -1|        -1|
-^  -1.5|        -1|        -2|       -1|        -1|+^  -1.5|  -2 or -1|        -2|       -1|        -1|
 ^  -1.8|        -2|        -2|       -1|        -1| ^  -1.8|        -2|        -2|       -1|        -1|
  
rounding.txt · Last modified: 2019/08/26 21:02 by korshun