This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
rounding [2019/04/18 21:43] – korshun | rounding [2019/04/18 22:05] – korshun | ||
---|---|---|---|
Line 20: | Line 20: | ||
^ -1.8| -2| -2| | ^ -1.8| -2| -2| | ||
- | Every rounding mode is available as two functions. | + | Every rounding mode is available as two functions: |
+ | * Functions without the '' | ||
+ | * Functions | ||
- | ^ Mode ^ as fixed ^ as int ^ | + | ^ Mode ^ fixed result |
- | ^ floor | '' | + | ^ floor | '' |
- | ^ ceil | '' | + | ^ ceil | '' |
- | ^ round | '' | + | ^ round | '' |
- | ^ trunc | '' | + | ^ trunc | '' |
- | Example of the difference between '' | + | <note important> |
- | * '' | ||
- | * '' | ||
- | So the full function list is as follows: | + | </ |
- | + | ||
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | * '' | + |