This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of New status.

4641. Role of NaN and infinity in §[linalg] is unclear

Section: 29.9 [linalg] Status: New Submitter: Jan Schultke Opened: 2026-11-09 Last modified: 2026-11-14

Priority: Not Prioritized

View all issues with New status.

Discussion:

The handling of NaN and infinity inputs and intermediate results throughout 29.9 [linalg] is not clearly specified. To name some examples:

The problem is not limited to just these two functions; there are fundamental questions such as:

When we describe results throughout 29.9 [linalg] mathematically, do we mean real number arithmetic (no infinities), extended real number arithmetic (infinities but no NaNs), or a (sometimes unspecified) series of expressions ([expr])?

Possible solutions

Proposed resolution: