mod of negative number

Craig Dillabaugh craig.dillabaugh at gmail.com
Mon Sep 23 20:10:56 UTC 2024


On Monday, 23 September 2024 at 20:02:25 UTC, Craig Dillabaugh 
wrote:
> On Monday, 23 September 2024 at 19:52:02 UTC, Craig Dillabaugh 
> wrote:
>> Why does the following program:
snip
>
> Opps, sorry.  I was expecting 7680 (not -1 or 5568).

After a bit of research I see this is the same behavior as C, so 
I guess that explains the result.


More information about the Digitalmars-d-learn mailing list