[KongchangAI]
ConceptNot a Number

NaN

A special value in the IEEE 754 floating-point standard representing the result of an invalid operation. Common sources include 0/0, infinity minus infinity, infinity times zero, and reads of uninitialized memory. It is highly contagious and can invalidate an entire computation chain.

Timeline (last 90 days)

Oct 17

NaN in the IEEE 754 floating-point standard represents an invalid operation result, with common triggering conditions including 0/0, ∞−∞, ∞×0, and taking the square root of a negative number.

Unverified50%
Oct 17

In GPU kernels, reading uninitialized or out-of-bounds memory is a common source of NaN; residual arbitrary bit patterns interpreted as floating-point numbers will contaminate the computation chain once they participate in accumulation.

Unverified50%
Oct 17

NaN is contagious: the result of any arithmetic operation with NaN is NaN; in the cross-chunk reduction of chunk scan, a NaN produced by one chunk will propagate to all subsequent chunks.

Unverified50%

All Facts (3)

Source Articles