A strange div bug on Linux x86_64, (both dmd & ldc2): long -5000 / size_t 2 = 9223372036854773308

matheus matheus at gmail.com
Thu Aug 13 18:40:40 UTC 2020


On Thursday, 13 August 2020 at 13:33:19 UTC, bachmeier wrote:
> ...
> The source of wrong behavior is vec.length having type ulong. 
> It would be very unusual for someone to even think about that.

May I ask what type should it be?

Matheus.


More information about the Digitalmars-d mailing list