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

  • HAL Id : hal-02427338 , version 1

Cite

Frédéric Goualard. Generating Random Floating-Point Numbers by Dividing Integers: a Case Study. Proceedings of ICCS 2020, Jun 2020, Amsterdam, Netherlands. ⟨hal-02427338⟩
1497 View
4410 Download

Share

Gmail Facebook X LinkedIn More