PreprintCC BY 4.0arXiv
The Entropy of Floating-Point Numbers
Abstract
Here we present an analytic approximation for the entropy of floating-point numbers, along with bounds on the error of this approximation. It is well-known that the differential entropy is tightly linked to the discrete entropy of a uniformly quantized random variable. Our approximation uncovers a different quantity that provides this link for floating-point quantization. Additionally, we prove that the entropy of a floating-point quantized random variable is approximately unchanged under scaling. Closed-form expressions for the floating-point entropy of common distributions are provided and compared to exact results.
Related
- The Rise of Low Precision Floating Point
- Performance Evaluation of an Adaptive Quadrature and a Double Exponential Formula Using Arbitrary-Precision Floating-Point Arithmetic
- Floating-point autotuning with customized precisions
- Analysis and Detection of Stagnation in Floating-Point Summation
- FPScan: An Automated Constraint-Based Analyzer for Floating-Point Anomaly Detection
BibTeX
@misc{daniels2026entropy,
title = {{The Entropy of Floating-Point Numbers}},
author = {Sultan M. Daniels and Samuel H. D'Ambrosia and Michael R. DeWeese and Anant Sahai},
howpublished = {arXiv},
year = {2026},
month = sep,
doi = {10.48550/arxiv.2605.11546},
eprint = {2605.11546},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2605.11546},
note = {CC BY 4.0},
}
RIS
TY - UNPB
TI - The Entropy of Floating-Point Numbers
AU - Sultan M. Daniels
AU - Samuel H. D'Ambrosia
AU - Michael R. DeWeese
AU - Anant Sahai
PY - 2026
DA - 2026/09/02
PB - arXiv
DO - 10.48550/arxiv.2605.11546
UR - https://arxiv.org/abs/2605.11546
AB - Here we present an analytic approximation for the entropy of floating-point numbers, along with bounds on the error of this approximation. It is well-known that the differential entropy is tightly linked to the discrete entropy of a uniformly quantized random variable. Our approximation uncovers a different quantity that provides this link for floating-point quantization. Additionally, we prove that the entropy of a floating-point quantized random variable is approximately unchanged under scaling. Closed-form expressions for the floating-point entropy of common distributions are provided and compared to exact results.
ER -