tag:blogger.com,1999:blog-1499494592914663339.post1865939133532467817..comments2020-05-18T22:20:12.779+01:00Comments on Code Review: Generating Random Numbers using LFSRsAlan Bowenshttp://www.blogger.com/profile/18416094309422618232noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-1499494592914663339.post-24002750078691145542010-02-16T12:37:48.766+00:002010-02-16T12:37:48.766+00:00Hi Nigel, I must admit this is probably a bit nich...Hi Nigel, I must admit this is probably a bit niche in most embedded systems. But it does have its uses - in this case I was stress-testing a chip, and wanted to throw data at it at random intervals. My previous code using random numbers was to generate lottery numbers, but this has been markedly less successful so far :)Alan Bowenshttps://www.blogger.com/profile/18416094309422618232noreply@blogger.comtag:blogger.com,1999:blog-1499494592914663339.post-35105003862054158332010-02-14T15:58:28.554+00:002010-02-14T15:58:28.554+00:00Very interesting Alan. I can't say I need to g...Very interesting Alan. I can't say I need to generate random numbers very often. However as you point out, most of the time when ones does, the number doesn't have to be really random. Thus this looks like a very useful alternative to using the rand() function. Its code footprint is tiny, and its execution speed must also be very good. I'll add this to my toolkit.Nigel Joneshttps://www.blogger.com/profile/16365149363759317116noreply@blogger.com