> On 5 Jan 2017, at 15:27, Martyn Hill wrote:
>
> Hi everyone
>
> Can anyone tell me the expected behaviour for the integer-divide operator
> 'DIV' in SBASIC, when provided with a negative dividend/numerator?
>
> My number-theory is a bit rusty, but I would have
Hi everyone
Can anyone tell me the expected behaviour for the integer-divide
operator 'DIV' in SBASIC, when provided with a negative dividend/numerator?
My number-theory is a bit rusty, but I would have thought that, say, -1
DIV 10 should result in 0 (with remainder/MOD of -1).
Instead, on