title: Floating Point Casting in Java
body: <p>Casting for integers is very straightforward, the extra bits simply disappear.</p>
  
  <p>But, is it important to understand what is happening under the hood for casting floating point? I've tried to read information on how floating point is calculated, but I have yet to find one that explains it well. At least that's my excuse. I get the basic idea although the calculation of the mantissa is a bit difficult.</p>
  
  <p>At least up to Java 7, I understand that floating points cannot be used in bitwise operations. Which makes sense because of how they are stored internally. Is there anything important that is needed to know on how floating points operate or are cast?</p>
  
  <p>So, to Summarize:</p>
  
  <p>Is it important to understand the internal workings of floating point like integers?</p>
  
  <p>What is the internal process of casting a floating point to an integer?</p>