In real probability, there is a 0% chance that a random number p, selected from all of the real numbers in the interval (0,1), will be 0.5.  However, what are the odds that
rand == 0.5
in MATLAB? I suppose this is like asking how many double-precision numbers are between zero and one, or maybe there are other factors at play.
 
     
     
     
    