About keil random number

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???

Parents
  • "I study about how to generate a random number"

    If you've studied it, then you should be aware that there is no such thing as a purely software random number generator - the best you can achieve is pseudo-random...

    "I observed it seems as if it don't use this kind of method"

    What makes you think that?

    "do it???"

    Do you have a specific reason for asking, or is it purely out of curiosity?

Reply
  • "I study about how to generate a random number"

    If you've studied it, then you should be aware that there is no such thing as a purely software random number generator - the best you can achieve is pseudo-random...

    "I observed it seems as if it don't use this kind of method"

    What makes you think that?

    "do it???"

    Do you have a specific reason for asking, or is it purely out of curiosity?

Children
More questions in this forum