The floating point: Tales of the unexpected

  • Faux D
  • Godolphin J
4Citations
Citations of this article
17Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Digital computation is central to almost all scientific endeavors and has become integral to university physics education. Students collect experimental data using digital devices, process data using spreadsheets and graphical software, and develop scientific programming skills for modeling, simulation, and computational work. Issues associated with the floating-point representation of numbers are rarely explored. In this article, problems of floating point are divided into three categories: significant-figure limits, propagation of floating-point representation error, and rounding. For each category, examples are presented of unexpected ways, in which the digital representation of floating-point numbers can impact the veracity of scientific results. These examples cover aspects of classical dynamics, numerical integration, cellular automata, statistical analysis, and digital timing. Suggestions are made for curriculum enhancement and project-style investigations that reinforce the issues covered at a level suitable for physics undergraduate students.

Cite

CITATION STYLE

APA

Faux, D. A., & Godolphin, J. (2021). The floating point: Tales of the unexpected. American Journal of Physics, 89(8), 806–814. https://doi.org/10.1119/10.0003915

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free