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

1016. Provide LessThanComparable and EqualityComparable for FloatingPointType

Section: 99 [concept.comparison] Status: NAD Concepts Submitter: Alisdair Meredith Opened: 2009-03-11 Last modified: 2016-01-28

Priority: Not Prioritized

View all other issues in [concept.comparison].

View all issues with NAD Concepts status.

Discussion:

Addresses JP 33

LessThanComparable and EqualityComparable don't correspond to NaN.

Original proposed resolution:

Apply concept_map to these concepts at FloatingPointType.

[ Post Summit, Alisdair adds: ]

I don't understand the proposed resolution - there is no such thing as a 'negative' concept_map, and these concepts are auto concepts that match float/double etc. Also not clear how we are supposed to match values to concepts.

Recommend NAD and treat as a subset of issue 902.

Proposed resolution:

Recommend NAD.