arXiv:2610.09089cs.DCOct 2026

Manuscript Offprint

arXiv:2610.09089

What Bloats Your Floats? Right-Sizing Numerical Precision for Scientific Computing

Pratyai Mazumder, Alexandru Calotoiu, Marcin Copik, Yakup Koray Budanaz, Shriram Chandran, Torsten Hoefler

Pratyai Mazumder

ETH Zurich

Zurich, Switzerland

pmazumder@ethz.ch

Yakup Koray Budanaz

ETH Zurich

Zurich, Switzerland

ybudanaz@ethz.ch

Alexandru Calotoiu

ETH Zurich

Zurich, Switzerland

acalotoiu@ethz.ch

Shriram Chandran

ETH Zurich

Zurich, Switzerland

schandran@ethz.ch

Marcin Copik

ETH Zurich

Zurich, Switzerland

mcopik@ethz.ch

Torsten Hoefler

ETH Zurich

Zurich, Switzerland

htor@ethz.ch

Abstract—While FP64 (binary64) remains the standard representation of real numbers in scientific computing, hardware trends increasingly favor low-precision formats optimized for AI workloads. This shift prioritizes throughput and energy efficiency over full-precision capabilities. We challenge the necessity of high-precision arithmetic in PDE-governed simulations, where spatial and temporal discretization errors introduce a physical noise floor that masks the lower-order bits of the FP64 format, rendering them irrelevant. We propose a criterion based on the Signal-to-Noise Ratio (SNR) with respect to spatial and temporal refinements to evaluate the impact of safe precision reduction on scientific computations. Finally, we present an automated dataflow-centric workflow for targeted lowering within mixed-precision subgraphs in complex scientific applications. Large-scale evaluations of weather and climate applications show that strategic precision reduction on GPUs achieves up to 1.8×1.8\times speedup without compromising physical fidelity.

Index Terms—Floating-point arithmetic, numerical stability, approximation error, partial differential equations, signal to noise ratio, data flow computing, atmospheric modeling, high performance computing

I. INTRODUCTION

The FP64 format has long been the default for large-scale scientific applications [1], [2], historically deemed necessary for computational stability [3], [4]. Modern hardware, however, is moving in the opposite direction: driven by AI workloads, GPUs increasingly optimize for FP32, FP16, BF16, and FP8, relegating native FP64 to a marginal fraction of peak throughput [5], [6]. For memory-bandwidth-bound PDE solvers—the computational core of weather and climate models—remaining locked to 64-bit data structures exacerbates the memory wall and bottlenecks throughput [7], [8], [9]. Because data movement dominates execution time [9], [10], halving the bit-width effectively doubles memory bandwidth [11], [12], providing a direct path to higher-resolution or larger-ensemble simulations [11], [12], [13], [14].

From a physical standpoint, the case for FP64 is weaker than commonly assumed. At practical grid resolutions, spatial and temporal discretization errors dominate the solution error budget, masking floating-point round-off and rendering the lower-order significant bits of FP64 irrelevant [12], [13], [15], [16], [17], [18]. Yet production codes remain conservatively locked to FP64 [19], [20], [21], [22], [23]—not because the physics demands it, but because the community lacks scalable tools to validate that lower precision is safe [24].

The validation bottleneck is twofold. First, large-scale simulation frameworks consist of millions of lines of legacy code with complex numerical dependencies; naively downcasting variables across regions with heterogeneous error sensitivities can introduce instability, catastrophic cancellation, or solver divergence [25], [26]. The combinatorial explosion of assigning precisions to thousands of variables renders manual optimization intractable [2], [27], and existing auto-tuning methods fail to scale to monolithic codebases [24].

Second, existing precision-tuning frameworks rely on the wrong evaluation methodology. They bound pointwise errors against a high-precision reference trajectory [19], [28], [29], but in PDE solvers this reference shares the same discretization error as the test run. The resulting metrics measure the arithmetic gap between formats—not the physical accuracy of either solution. In chaotic systems, acceptable grid-scale noise causes these pointwise metrics to saturate rapidly [30], [31], [32], rendering tuning constraints overly pessimistic and sometimes misleading [12], [33], [34].

Compounding the tooling gap is a measurement gap. Validating precision reductions requires collapsing multidimensional error fields into a robust scalar metric, yet the standard choices are ill-suited to chaotic PDE solvers. Pointwise LpL_{p} norms grow exponentially under chaotic trajectory divergence [30], [31], [32]; relative errors hit zero-crossing singularities [35]; and distributional metrics such as Wasserstein distance or CRPS [11], [12], [14], while physically meaningful, are too expensive to embed in an automated tuning loop. What is needed is a metric that is scale-free, tolerant of nonlinear dynamics, and computable from a single execution—without requiring a reference beyond FP64.

© 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

Burgers' FTCS: ut+uux=0.05uxxu_t + u u_x = 0.05 u_{xx}

u(x,0)=12(1−tanh⁡[5(x−0.25)])u(x, 0) = \frac{1}{2}(1 - \tanh[5(x - 0.25)]), Δt=0.4h2/ν\Delta t = 0.4 h^2/\nu, T=0.1T = 0.1

Figure

Fig. 1. Total error landscape Etotal=Θ(h2)+Θ(ϵh−2)E_{\text{total}} = \Theta(h^2) + \Theta(\epsilon h^{-2}) for forward-time centered-space (FTCS) scheme on the 1D viscous Burgers' equation ( ν=0.05\nu = 0.05, T=0.1T = 0.1), demonstrating that the impact of lowering precision depends strongly on the operating grid resolution h−1h^{-1}. The dashed line marks the optimal resolution locus hopt−1(ϵ)h_{\text{opt}}^{-1}(\epsilon). Arrows indicate the error penalty when switching from FP64 to FP32 at three distinct grid resolutions: the error increase is negligible at a coarse resolution of h−1=100h^{-1} = 100 (green), grows to 1.7×1.7 \times at h−1=500h^{-1} = 500 (orange), and suffers a catastrophic ∼105×\sim 10^5 \times increase at a fine resolution of h−1=10 000h^{-1} = 10\,000 (red).

References (65)