title: Chance of randomly generated float equality?
body: <p>Short version:</p>
  
  <p>How big is chance that floats generated randomly &lt;0,1> will be equal?
  I can imagine the number is quite big, but cannot quite do the math myself.</p>
  
  <p>Long version:</p>
  
  <p>I am working on evolutionary algorithm for <strong>"Rectilinear Crossing Number"</strong> problem , where I represent vertex of graph as a set of [x,y] coordinates defined as floats. I want to justify the absurdity of testing for graph edge parallelism to my task supervisor, but I don't want to do so without proper numbers (not to look like an idiot). Or should I <strong>consider giving up performance</strong> to the "anything can happen" situation handling? </p>
  
  <p>Thanks in advance.</p>