Deprecate implicit conversion between signed and unsigned integers

Walter Bright newshound2 at digitalmars.com
Thu Feb 6 20:52:53 UTC 2025


On 2/6/2025 7:18 AM, Quirin Schroll wrote:
> 4. Micro-lossy narrowing conversions:
>      * `int`/`uint` → `float`
>      * `long`/`ulong` → `float`/`double`

We already do VRP checks for cases:

```
float f = 1; // passes
float g = 0x1234_5678; // fails
```


More information about the dip.ideas mailing list