Yes, given infinite time, it will hit every number in your range if it has an infinite period; as soon as the seed value is reached again, the sequence repeats. Of course, as you mentioned, you would limit the accuracy of the value returned by rand (), and you would end up at the breakpoint where it could not be mapped to every integer in a sufficiently large range. But if you consider a theoretical computer with infinite accuracy and period (you bring up infinity), then you will hit every number in the specified range with infinite time.
, rand() LCG, . , , ( , ). , - Mersenne Twister. Boost, Mersenne Twister, .