Svashasan Logo
Simulated data

AI and Machine Learning · Numerical format

FP32

32-bit floating point (IEEE 754 binary32, single precision)

Also known as single precision, binary32, float32, float

BeginnerSource-checked · awaiting technical reviewLast reviewed 6 December 2026

FP32 is the IEEE 754 32-bit binary floating-point format (binary32), with 1 sign bit, 8 exponent bits and 23 fraction bits. It is the precision in which most neural networks are trained and the usual reference for checking reduced-precision inference.

Explanation

The exponent is stored with a bias of 127, and an implicit leading 1 gives 24 bits of significand precision, about 6-7 significant decimal digits. Normal values range from about 1.18 × 10⁻³⁸ to 3.40 × 10³⁸, and subnormal values extend the lower end at reduced precision. IEEE 754-2019 is the current edition of the floating-point standard, and the IEEE lists a revision project (P754) as active.

In ML deployment FP32 is the baseline: models are usually trained and exported in FP32, then optionally converted to FP16, BF16 or INT8 for speed, and the reduced-precision outputs are compared with FP32 outputs to measure accuracy loss.

Even in FP32, results are not bit-identical across platforms. The order of additions in parallel reductions, the use of fused multiply-add and the implementation of math libraries differ between CPUs and GPUs. NVIDIA's floating-point guide notes that such differences are not automatically evidence that a GPU result is wrong, so comparisons should use tolerances rather than exact equality.

How it works

A normal FP32 value equals (−1)^sign × 2^(exponent − 127) × 1.fraction. Operations round to nearest, ties to even, by default. A fused multiply-add computes a × b + c with a single rounding step, which is usually more accurate than a separate multiply and add but can change results compared with code that does not use it.

Automotive applications

  • Model training and reference evaluation
  • Accuracy baseline for FP16 and INT8 builds
  • Precision-sensitive layers in mixed-precision engines
  • Signal processing and control code

Example

Before releasing an INT8 perception engine, a team runs the same validation frames through the FP32 ONNX model in ONNX Runtime and through the deployed engine, then compares per-class mAP and checks that output tensors agree within a defined numerical tolerance.

An illustrative example: any figures in it are worked numbers, not measurements.

References

  1. IEEE 754-2019: IEEE Standard for Floating-Point Arithmetic (opens in a new tab)

    IEEE Standards Association · Standard · retrieved 6 December 2026

  2. Type float (C language reference) (opens in a new tab)

    Microsoft Learn · Manufacturer documentation · Lengths of Exponents and Mantissas; Range of Floating-Point Types · retrieved 6 December 2026

  3. Floating Point and IEEE 754 Compliance for NVIDIA GPUs (opens in a new tab)

    NVIDIA CUDA documentation · Manufacturer documentation · 2 Floating Point; 5 Considerations for a Heterogeneous World · retrieved 6 December 2026

Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.