Re: [ql-users] Not so Simple Arithmetic

2006-12-17 Thread Laurence W Reeves
Marcel Kilgus wrote: > Laurence W Reeves wrote: > >>> PRINT FLOAT$(-32768/1) gives $0810 C000 >>> >> You've detected the cause of the bug! SMSQ/E has allowed a unnormalised >> value to get on the stack. >> &

Re: [ql-users] Not so Simple Arithmetic

2006-12-17 Thread Laurence W Reeves
P Witte wrote: > Marcel Kilgus writes: > > <> > >> Still it's a bug and I'll try to investigate when I find the time. But >> > > n = -32768/1: n% = n > > throws an overflow error > > n = -32768: n% = n > > is ok > > Doing a > > PRINT FLOAT$(-32768/1) gives $0810 C000 > You've

Re: [ql-users] Not so Simple Arithmetic

2006-12-17 Thread Laurence W Reeves
Rich Mellor wrote: > On Sun, 17 Dec 2006 16:39:56 -, Wolfgang Lenerz > <[EMAIL PROTECTED]> wrote: > > >> On 16 Dec 2006 at 10:56, Marcel Kilgus wrote: >> >> >>> Wolfgang Lenerz wrote: >>> > On an ordinary QL I can type > > f%=-32768/1 > > and find that f% no

Re: [ql-users] Not so Simple Arithmetic

2006-12-16 Thread Laurence W Reeves
P Witte wrote: > 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