You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 6143 Reporter:@alainfrisch Status: closed (set by @xavierleroy on 2015-12-11T18:23:56Z) Resolution: not a bug Priority: normal Severity: feature Category: standard library
Bug description
Because of the IEEE 754 semantics, the generic structural equality is not a reflexive binary relation. In some cases, it would be useful to have access to a variant of this relation where 'x = x' holds for any x. There is some flexibility for the exact definition for 'nan' (all are 'nan' value equals, or do we compare the bits).
What about providing such a variant in Pervasives, implemented by passing an additional flag to the C implementation?
The text was updated successfully, but these errors were encountered:
Original bug ID: 6143
Reporter: @alainfrisch
Status: closed (set by @xavierleroy on 2015-12-11T18:23:56Z)
Resolution: not a bug
Priority: normal
Severity: feature
Category: standard library
Bug description
Because of the IEEE 754 semantics, the generic structural equality is not a reflexive binary relation. In some cases, it would be useful to have access to a variant of this relation where 'x = x' holds for any x. There is some flexibility for the exact definition for 'nan' (all are 'nan' value equals, or do we compare the bits).
What about providing such a variant in Pervasives, implemented by passing an additional flag to the C implementation?
The text was updated successfully, but these errors were encountered: