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)
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.
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.
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.
All Facts (3)
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.
50%UnverifiedIn 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.
50%UnverifiedNaN 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.
50%