Sender Ghost Messages: 301 Registered: November 2008
Senior Member
dolik.rce wrote on Tue, 17 January 2012 20:25
The type doesn't really matter, I referred to "float" just as a sloppy abbreviation for "floating point type". The problem is that even with qword the simple division will not generate uniform distribution because floating point numbers are not equally spaced (as is explained in the document I linked to).
The article shows, that there is more range for float numbers, than just using sufficient range. I agree, there is more range. Therefore, the function has limitations, which described in the comment for it.