New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
P2551 Clarify intent of P1841 numeric traits #1211
Comments
2022-03-29 Library Evolution TeleconP2551R0: Clarify intent of P1841 numeric traits 2022-03-29 Library Evolution Telecon Minutes Chair: Billy Baker Champion: Matthias Kretz Minute Taker: Ben Craig Poll: Numeric traits can deviate from numeric_limits.
Attendance: 33 # of Authors: P2551: 1 Author Position: P2551: SF, P1841/P0437: no vote Outcome: Consensus to allow deviation of numeric traits from numeric_limits. P1841/P0437 author: did not vote, bad poll, contradicts original design of P0437 Poll: Numeric traits should be based on representation rather than behavior (ignoring reciprocal_overflow_threshold).
Attendance: 34 # of Authors: P2551: 1 Author Position: P2551: SF, P1841/P0437: no vote Outcome: Consensus in favor of basing on representation rather than behavior. Poll: All numeric traits for bool should be disabled.
Attendance: 33 # of Authors: P2551: 1 Author Position: P2551: SF, P1841/P0437: no vote Outcome: Consensus to disable bool for numeric traits. Poll: The numeric traits that are not meaningful for numeric_limits (denorm_min, epsilon, etc) should be disabled for integral types.
Attendance: 33 # of Authors: 1 Author Position: P2551: SF, P1841/P0437: no vote Outcome: Consensus in favor of disabling traits that are not meaningful for integral types. Poll: max_digits10 should deviate from numeric_limits and yields digits10_v + 1.
Attendance: 34 # of Authors: P2551: 1 Author Position: P2551: SF, P1841/P0437: no vote Outcome: Consensus in favor of max_digits10 deviating from the numeric_limits value. SummaryThese polls cover part of the questions in P2551 Clarify intent of P1841 numeric traits. The paper will need additional time for the questions related to reciprocal_overflow_threshold. There was consensus for deviating from numeric_limits. A user will have to make the decision to replace <limits>/numeric_limits usage with <numbers>/numeric traits. The possibility of ABI issues with floating point was mentioned as an already existing possibility. Deviation does mean that it may not be possible to excise numeric_limits in the future as P0437 Numeric Traits for the Standard Library suggested. Next StepsUpdate the paper to make the aforementioned changes and return to Library Evolution for further design review. |
2022-06-07 Library Evolution TeleconP2551R1: Clarify intent of P1841 numeric traits 2022-06-07 Library Evolution Telecon Minutes Chair: Bryce Adelstein Lelbach Minute Taker: Ben Craig Champion: Matthias Kretz Start: 2022-06-07 11:10 Eastern POLL: Remove
Attendance: 22 # of Authors: 1 Author Position: SF Outcome: Strong consensus in favor. End: 11:20 SummaryWe discussed Next StepsTake an electronic poll to confirm the following changes to P1841 (Individually Specializable Numeric Traits) and return it to Library for C++23 classified as B3:
|
2022-07 Library Evolution Electronic Poll OutcomesPoll 1.11: Send [P2551R2] Clarify Intent Of Individually Specializable Numeric Traits to Library Working Group for C++23, classified as an addition ([P0592R4] bucket 3 item).
Outcome: Unanimous consensus in favor. |
P2551R0 Clarify intent of P1841 numeric traits (Matthias Kretz, Jonathan Wakely)
The text was updated successfully, but these errors were encountered: