News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Monte Carlo Simulation with RDRAND

Started by Gunther, October 04, 2013, 10:07:16 PM

Previous topic - Next topic

Gunther

Dave,

Quote from: dedndave on October 06, 2013, 10:02:10 AM
it has a slight bug, Gunther
see reply #11

the result is always set to 1

yes, the lable was wrong. It's fixed in MC1.ZIP.

Gunther
You have to know the facts before you can distort them.

qWord

#16
Might not be very useful, but in the attachment a cute multithreaded x64 program that plots a map from the random numbers (64bit). For interpreting the map: as darker a pixel gets, has higher the corresponding "hit" count - because the scaling is relative to the map's minimal and maximal value it will never get monochrome.
jWasm, polink and WinInc is used for building (the paths in build.bat must be adapted of course).

regards, qWord


MREAL macros - when you need floating point arithmetic while assembling!

Gunther

Hi qWord,

interesting idea. Thank you for providing the material.  :t

Gunther
You have to know the facts before you can distort them.