Skip to content
STIMSMITH

Floating-Point NaN

Concept WIKI v1 · 5/25/2026

Floating-Point NaN, or Not a Number, represents undefined values in floating-point arithmetic. In RISC-V, NaNs are distinguished as signalling NaNs, which raise exceptions, and quiet NaNs, which propagate silently.

Overview

Floating-Point NaN stands for Not a Number. It represents undefined values in floating-point arithmetic. [Floating-Point NaN definition]

NaN behavior in RISC-V

RISC-V distinguishes between two NaN categories: [RISC-V NaN categories]

  • Signalling NaNs: raise exceptions.
  • Quiet NaNs: propagate silently.

Verification relevance

The evidence appears in a RISC-V verification context, where floating-point NaN behavior is listed among design behaviors that may need to be exercised during testing and coverage closure. [Verification context]

CITATIONS

3 sources
3 citations
[1] Floating-Point NaN definition source
[2] RISC-V NaN categories source
[3] Verification context source