title: floor()/int() function implementaton
body: <p>Does anyone have an idea how is the method/function <code>Int()</code> or <code>floor()</code> implemented?
  What I am looking for a respective implementation as the following is for <code>abs()</code> function.</p>
  
  <pre><code>Int Abs (float x){
    if x &gt; 0 
        return x;
     else
        return -x
  }
  </code></pre>
  
  <p>I am struggling to find a solution for it without using the modulus operator.</p>