Hi,guys! I study about how to generate a random number recently,a lot of articles said "Linear Congruential Generator" is a frequently-used method!However,I used the mothod rand() in the stdlib.h,which is a lib function of keil,I observed it seems as if it don't use this kind of method,do it???
Why not just look at the library function for it?
It exists in a few libraries (for the different memory models), but you can find one of them in C51BS.LIB in the module RAND.OBJ
Just view it and you can see the exact implementation.