I have looked at many places and cannot seem to find the answer. I understand that the probability of rand() / RAND_MAX == 1 is low because rand() is unlikely to equal RAND_MAX.
However is it theoretically possible?
I saw someone write, on something similar, that the range is [0, 1), however I do not understand why.
Thanks!