[OT] The Usual Arithmetic Confusions
Walter Bright
newshound2 at digitalmars.com
Fri Feb 4 04:29:21 UTC 2022
On 2/3/2022 8:35 AM, Adam D Ruppe wrote:
> On Thursday, 3 February 2022 at 05:50:24 UTC, Walter Bright wrote:
>> VRP makes many implicit conversions to bytes safely possible.
>
> It also *causes* bugs. When code gets refactored, and the types change, those
> forced casts may not be doing what is desired, and can do things like
> unexpectedly truncating integer values.
No, then the VRP will emit an error.
More information about the Digitalmars-d
mailing list