Re: [ql-users] Infinity

2006-06-05 Thread Laurence Reeves
George Gwilt wrote: > On 5 Jun 2006, at 16:16, George Gwilt wrote: > > >> On 4 Jun 2006, at 14:24, Laurence Reeves wrote: >> >> >>> George Gwilt wrote: >>> The IEEE format of signed infinities for the FPU on Q40 and Q60 is $ (minus infinity) $7F

Re: [ql-users] Infinity

2006-06-05 Thread George Gwilt
On 5 Jun 2006, at 16:16, George Gwilt wrote: > > On 4 Jun 2006, at 14:24, Laurence Reeves wrote: > >> George Gwilt wrote: >>> The IEEE format of signed infinities for the FPU on Q40 and Q60 is >>> >>> $ (minus infinity) >>> $7FFF (plus infinity) >>> >>> The fifth

Re: [ql-users] Infinity

2006-06-04 Thread Laurence Reeves
George Gwilt wrote: > The IEEE format of signed infinities for the FPU on Q40 and Q60 is > > $ (minus infinity) > $7FFF (plus infinity) > > The fifth zero could in fact be 8 as a viable alternative. > I'm confused... where does IEEE come into this? I don't think

Re: [ql-users] Infinity

2006-06-03 Thread David Tubbs
> >Most programming languages (like current C implementations) use the >IEEE format for numbers, which includes +/- infinity and NaN (not a >number. sqrt(-1) is NaN for example), though real language support to >deal with these circumstances is often poor. > >Curious fact: there are also 2 zeros!

Re: [ql-users] Infinity

2006-06-02 Thread George Gwilt
On 1 Jun 2006, at 00:24, David Tubbs wrote: > >> PEPS. Infinity. I considered introducing infinity in Minerva, but I >> wouldn't have been happy with just the one. >> >> -- >> Lau & Marcel > > So if it is possible for the computer to handle infinity how and > where is > it done ? > > Processor

Re: [ql-users] Infinity

2006-06-01 Thread Robert Newson
Marcel Kilgus wrote: ... > Curious fact: there are also 2 zeros! +0 and -0. When I worked with Data/Basic on Pick, -0 was used to represent infinity[1]. Add 1 and you got the largest positive number possible, subtract 1 and you got the largest negative number possible. [1] Data/Basic used f

Re: [ql-users] Infinity

2006-05-31 Thread Marcel Kilgus
David Tubbs wrote: > So if it is possible for the computer to handle infinity how and where is > it done ? > > Processor or co-processor ? It's part of the FPU (floating point unit). This can be an external co-processor but usually is part of the main processor nowadays. > Would it be dependent o

[ql-users] Infinity

2006-05-31 Thread David Tubbs
At 12:48 31/05/2006 +0100, you wrote: >PEPS. Infinity. I considered introducing infinity in Minerva, but I >wouldn't have been happy with just the one. > >-- >Lau & Marcel So if it is possible for the computer to handle infinity how and where is it done ? Processor or co-processor ? Operating s