Generating Random Floating-Point Numbers by Dividing Integers: a Case Study
Abstract
A method widely used to obtain IEEE 754 binary floating-point numbers with a standard uniform distribution involves drawing an integer uniformly at random and dividing it by another larger integer. We survey the various instances of the algorithm that are used in actual software and point out their properties and drawbacks, particularly from the standpoint of numerical software testing and data anonymization.
Domains
Computer ArithmeticOrigin | Files produced by the author(s) |
---|
Loading...