Cargando…

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

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...

Descripción completa

Detalles Bibliográficos
Autor principal: Goualard, Frédéric
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7302591/
http://dx.doi.org/10.1007/978-3-030-50417-5_2
_version_ 1783547879035502592
author Goualard, Frédéric
author_facet Goualard, Frédéric
author_sort Goualard, Frédéric
collection PubMed
description 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.
format Online
Article
Text
id pubmed-7302591
institution National Center for Biotechnology Information
language English
publishDate 2020
record_format MEDLINE/PubMed
spelling pubmed-73025912020-06-19 Generating Random Floating-Point Numbers by Dividing Integers: A Case Study Goualard, Frédéric Computational Science – ICCS 2020 Article 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. 2020-06-15 /pmc/articles/PMC7302591/ http://dx.doi.org/10.1007/978-3-030-50417-5_2 Text en © Springer Nature Switzerland AG 2020 This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic.
spellingShingle Article
Goualard, Frédéric
Generating Random Floating-Point Numbers by Dividing Integers: A Case Study
title Generating Random Floating-Point Numbers by Dividing Integers: A Case Study
title_full Generating Random Floating-Point Numbers by Dividing Integers: A Case Study
title_fullStr Generating Random Floating-Point Numbers by Dividing Integers: A Case Study
title_full_unstemmed Generating Random Floating-Point Numbers by Dividing Integers: A Case Study
title_short Generating Random Floating-Point Numbers by Dividing Integers: A Case Study
title_sort generating random floating-point numbers by dividing integers: a case study
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7302591/
http://dx.doi.org/10.1007/978-3-030-50417-5_2
work_keys_str_mv AT goualardfrederic generatingrandomfloatingpointnumbersbydividingintegersacasestudy