Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/09/04 05:01
Read: times


 
#62212 - RE: how to generate random number?
Responding to: ???'s previous message
ivan cheung wrote:
-------------------------------
does anyone know how to generate random number in 8051 using using C code to compile into assembly?
thanks

Yes. Yes I do. If you too would like to know how to generate random numbers using C code I would suggest

Numerical Recipes in C
The Art of Scientific Compuiting
Second Edition
ISBN 0 521 43108 5


If you'd like to know how to generate random numbers using FORTRAN code I would suggest

Numerical Recipes in FORTRAN
The Art of Scientific Compuiting
Second Edition
ISBN 0 521 43064 X


Finally, If you'd like to know how to generate random numbers using Pascal code I would suggest

Numerical Recipes in Pascal
The Art of Scientific Compuiting
ISBN 0 521 37516 9
(Does anyone find it amusing that this ISN'T a second edition? Do you think that might mean something? Now watch. I'm going to get flamed by the North American and European Alliance of the Pascal Preservation Society, Middle Eastern Division, for defaming their favorite language.)


Seriously Mr. Cheung, there is a significant body of work concerning the algorithmic generation of random number sets. If it's important to you, pick one of these books and look into it. Not only will you get a selection of algorithms to work with, but you'll also get an introduction to some of the underlying issues that you might need to consider. Good luck.

List of 10 messages in thread
TopicAuthorDate
how to generate random number?            01/01/70 00:00      
   RE: how to generate random number?            01/01/70 00:00      
      RE: how to generate random number?            01/01/70 00:00      
         RE: how to generate random number?            01/01/70 00:00      
            RE: how to generate random number?            01/01/70 00:00      
   RE: how to generate random number?            01/01/70 00:00      
   RE: how to generate random number?            01/01/70 00:00      
   RE: Random? no Pseudo Random            01/01/70 00:00      
   About three weeks ago...            01/01/70 00:00      
      RE: About three weeks ago...            01/01/70 00:00      

Back to Subject List