Marcel Kilgus writes:

> Wolfgang Lenerz wrote:
>>> On an ordinary QL I can type
>>>
>>> f%=-32768/1
>>>
>>> and find that f% now contains -32768.
>>>
>> Well that must be a nice bug.
>>
>> unless I'm mistaken, 32768/1 = 32768
>>
>> and 32768 just doesn't fit in an integer.
>
> Yes, but -32768 does. Notice the minus ;-)

Ah, but  the rub is that "f%=-32768/1" is within range and shouldnt 
overflow.

Per 
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to