On Tuesday, 19 January 2021 at 13:36:58 UTC, Steven Schveighoffer wrote: > Use a cast instead. > > const lvalue = cast(long)value; Ahh, good point. Followd by a compare of the original value I presume.