Generating Random Floating-Point Numbers by Dividing Integers: a Case Study - Archive ouverte HAL
Communication Dans Un Congrès Année : 2020

Generating Random Floating-Point Numbers by Dividing Integers: a Case Study

Résumé

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.
Fichier principal
Vignette du fichier
fpnglib_iccs.pdf (546.39 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-02427338 , version 1 (03-01-2020)

Identifiants

Citer

Frédéric Goualard. Generating Random Floating-Point Numbers by Dividing Integers: a Case Study. Proceedings of ICCS 2020, Jun 2020, Amsterdam, Netherlands. ⟨10.1007/978-3-030-50417-5_2⟩. ⟨hal-02427338⟩
1595 Consultations
4604 Téléchargements

Altmetric

Partager

More