Date: Tue, 20 Jan 2026 11:07:56 +0000
Hello,
I'd like to submit the proposal regarding relaxing the narrowing int -> floating conversion.
Abstract
This paper proposes relaxing list-initialization narrowing rules so that an implicit conversion from an integer type to a floating-point type is not considered narrowing when the destination floating-point type adheres to ISO/IEC 60559, has a binary radix, and has sufficient precision to exactly represent all values of the source integer type.
…
The proposal is hosted on the GitHub. Following is a link:
https://github.com/ujos/cplusplus-narrowing-cast/blob/draft_r0/PXXXXR0.md
Could you give it a read and let me know if you have any comments.
Kind regards
Dmytro
I'd like to submit the proposal regarding relaxing the narrowing int -> floating conversion.
Abstract
This paper proposes relaxing list-initialization narrowing rules so that an implicit conversion from an integer type to a floating-point type is not considered narrowing when the destination floating-point type adheres to ISO/IEC 60559, has a binary radix, and has sufficient precision to exactly represent all values of the source integer type.
…
The proposal is hosted on the GitHub. Following is a link:
https://github.com/ujos/cplusplus-narrowing-cast/blob/draft_r0/PXXXXR0.md
Could you give it a read and let me know if you have any comments.
Kind regards
Dmytro
Received on 2026-01-20 11:08:02
