Floor: Difference between revisions

Content added Content deleted
mNo edit summary
No edit summary
Line 6: Line 6:
The floor primitive is [[Atomicity|right atomic]].
The floor primitive is [[Atomicity|right atomic]].


A ceiling function (round up) can be made with floor using a [[tacit]] definition: <code>(1+_)</code>
A ceiling function (round up) can be made with floor using <code>-_-</code>.


<pre>
<pre>