Ruckus
03/11/2019, 6:56 PMkotlin.math.ceil()
it says it returns:the smallest double value that is greater than the given valueand is a mathematical integerx
the smallest double value that is greater than or equal to the given valueand is a mathematical integerx
floor
, but obviously the other way around)karelpeeters
03/11/2019, 7:16 PMSpecial cases:
-isceil(x)
wherex
isx
orNaN
or+Inf
or already a mathematical integer.-Inf
or already a mathematical integer
Ruckus
03/11/2019, 7:19 PMilya.gorbunov
03/20/2019, 6:15 PM