Random number generators discussion

Random number generators | www.agner.org

Fast Float Conversion
Author: Agner Date: 2004-08-31 11:39
The fastest way to convert a float to an int is the Round function in my library of assembly functions. You can download it from www.agner.org/assem/asmlib.zip
There are different versions for different compilers under Windows and Linux. The number is rounded rather than truncated.
 
thread Fast Float Conversion new - Sandeep - 2004-08-30
last reply Fast Float Conversion - Agner - 2004-08-31