Floor: Difference between revisions
"Better category ordering, add redirects to categories, fix pseudo-adverb categories"
(add floor page) |
("Better category ordering, add redirects to categories, fix pseudo-adverb categories") |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1:
{{primitive|_x}}
The '''floor''' function is used to round numbers down in K.
Flooring is a no-op on integers
The floor primitive is [[Atomicity|right atomic]].
A ceiling function (round up) can be made with floor
<pre>
Line 15 ⟶ 16:
-4 4 80 0N
</pre>
[[Category:Verbs]]
[[Category:Operator verbs]]
[[Category:Primitives]]
|