title: A few things about division by zero in C
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/8488841/value-returning-1-inf000">Value returning 1.#INF000</a>  </p>
  </blockquote>
  
  
  
  <p>I always thought division by 0 would result in a compiled program crashing</p>
  
  <p>However I discovered today (using VC++ 2010 Express) that division by 0 gives something called 1.#INF000 and it is supposed to be positive infinity</p>
  
  <p>When it was passed to a function, it got passed as -1.#IND000</p>
  
  <p>What is this all about?</p>
  
  <p>Searching 1.#INF000 and -1.#IND000 on google do not provide any clear explanations either</p>
  
  <p>Is it just something specific to VC++ ?</p>