Generating Random Floating-Point Numbers by Dividing Integers: a Case Study - Archive ouverte HAL Access content directly
Conference Papers Year : 2020

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.
Fichier principal
Vignette du fichier
fpnglib_iccs.pdf (546.39 Ko) Télécharger le fichier
Origin Files produced by the author(s)
Loading...

Dates and versions

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

Identifiers

Cite

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⟩
1558 View
4527 Download

Altmetric

Share

Gmail Mastodon Facebook X LinkedIn More