ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:ceil

Differences

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

Link to this comparison view

Next revision
Previous revision
functions:ceil [2017/03/15 16:29] – created korshunfunctions:ceil [2019/08/26 21:03] (current) – removed korshun
Line 1: Line 1:
-====== ceil ====== 
-{{tag>math rounding}} 
-''fixed ceil(fixed x)'' 
- 
-===== Description ===== 
-Returns x rounded up as a fixed-point number. 
- 
-See the article on [[:rounding]] for all rounding modes. 
- 
-===== Examples ===== 
-<code> 
-ceil(2.3) -> 3.0 
-ceil(3.8) -> 4.0 
-ceil(5.5) -> 5.0 
-ceil(-2.3) -> -2.0 
-ceil(-3.8) -> -3.0 
-ceil(-5.5) -> -5.0 
-</code> 
  
functions/ceil.1489588144.txt.gz · Last modified: 2017/03/15 16:29 by korshun