Re: [ql-users] May be of interest to potential Q60 buyers

2001-05-18 Thread Peter Graf

Nasta wrote:

> there are a couple of 68EC060's about to appear on Ebay for around
> $25 plus shipping, look for them under electronic parts within 12 hours

Thanks for trying to help. Unfortunately the EC version is too crippled to
run SMSQ/E or Linux.

Phoebus wrote:

>well do your sources tell you anything about an 80 MHz???

Very unlikely. The 68LC060RC75 is quite a new chip, and extremely expensive.

Peter




[ql-users] Re: UK General Election

2001-05-18 Thread Geoff Wicks

I have put a new version of my General Election analysis program on my web
page.

It allows you to plot 8 new maps. These are for the 2nd, 3rd and 4th places
of the parties; the areas of strength for each of the main parties; and the
marginal seats.

In the seats section it is now possible to look for 2nd, 3rd and 4th place
seats. I have also implemented Malcolm Cadman's suggestion of marking the
marginal seats.

Please let me know asap of any bugs as, for obvious reasons, the program has
not been rigorously tested. Also any suggestions for further features will
be welcome as this will form the basis of the 2001 edition.

Geoff Wicks,
[EMAIL PROTECTED]

http://members.tripod.co.uk/geoffwicks/election.htm




Re: [ql-users] another float question

2001-05-18 Thread Robert Newson

Jerome Grimbert wrote:
> 
> I have a strange question about float number:
>  what are the maximal and minimal values for a float, on the QL.
> 
> I have found the answer for Abacus (it's in the doc!), but
> not for the SBasic/whole system.

The classic QL manual, Concepts section, Page 15 "data types/variables"
says:

Integers are whole numbers in the range -32768 to +32767...

Floating point numbers are in the range +/-(10^-615 to 10^+615), with 8
significant digits...

A string is a sequence of characters up to 32766 characters long...

[Note that 8 significant figures only is quoted as the 9th is used to
round the 8th.]



Re: [ql-users] float

2001-05-18 Thread Robert Newson

> Using school maths I get:
> 
>   7 div  3 ,  7 mod  3 =>  2 ,  1
>  -7 div  3 , -7 mod  3 => -2 , -1
>   7 div -3 ,  7 mod -3 => -2 ,  1
>  -7 div -3 , -7 mod -3 =>  2 , -1

Don't forget that under Modulo 3, the numbers -1 and 2 are equivalent.



Re: [ql-users] May be of interest to potential Q60 buyers

2001-05-18 Thread Phoebus Dokos

At 02:19 ìì 18/5/2001 -0400, you wrote:
>On 5/18/01 at 2:02 PM Phoebus Dokos wrote:
>
> >>> there are a couple of 68EC060's about to appear on Ebay for around
> >> >$25 plus shipping, look for them under electronic parts within 12 hours
>
> >>>It was one and now its gone :-)
>
> >>I meant in addition to THAT one! The guy has 5-6 more, they ae going to
>be
> >>on Ebay sometime this evening, US west coast time (GMT - 8).
>
> >Ha! in that case I'll get them too :-)
>
>Well, go right ahead - I've alredy skimmed the crop on this end :-) and
>have what I need :-)
>
>Nasta

well do your sources tell you anything about an 80 MHz???




Re: [ql-users] May be of interest to potential Q60 buyers

2001-05-18 Thread ZN

On 5/18/01 at 2:02 PM Phoebus Dokos wrote:

>>> there are a couple of 68EC060's about to appear on Ebay for around
>> >$25 plus shipping, look for them under electronic parts within 12 hours

>>>It was one and now its gone :-)

>>I meant in addition to THAT one! The guy has 5-6 more, they ae going to
be
>>on Ebay sometime this evening, US west coast time (GMT - 8).

>Ha! in that case I'll get them too :-)

Well, go right ahead - I've alredy skimmed the crop on this end :-) and
have what I need :-)

Nasta





Re: [ql-users] float

2001-05-18 Thread Wolfgang Lenerz

On 17 May 2001, at 13:31, Richard Zidlicky wrote:

> the problem is a bit more than simply QPC x86 code against m68k.
> SMSQ is written in 68000 assembly and even rewriting it to make
> use of 68020-60 arithmetic would be a major task, not to mention
> the lack of suitable assembler for it. 
> So a x86 hack may be a quick solution but it is essentially a code 
> fork and bears risk of very nasty incompatibility. For me the old
> routines are much too tricky to even think about replacing them.
>

Well, to put some oil on the fire (...) what is the ENORMOUS 
advantage QPC has over the Q60?


You can buy it.

(Sorry Peter, I couldn't resits that one).

Wolfgang



Re: [ql-users] May be of interest to potential Q60 buyers

2001-05-18 Thread Phoebus Dokos

At 01:58 ìì 18/5/2001 -0400, you wrote:
>On 5/18/01 at 11:43 AM Phoebus Dokos wrote:
>
> >>Informed sources tell me (I feel like being mysterious at this hour :-) )
> >>that there are a couple of 68EC060's about to appear on Ebay for around
> >$25 plus shipping, look for them under electronic parts within 12 hours or
> >>so...
>
> >It was one and now its gone :-)
>
>I meant in addition to THAT one! The guy has 5-6 more, they ae going to be
>on Ebay sometime this evening, US west coast time (GMT - 8).
>
>Nasta
>
>
>0

Ha! in that case I'll get them too :-)

Phoebus




Re: [ql-users] May be of interest to potential Q60 buyers

2001-05-18 Thread ZN

On 5/18/01 at 11:43 AM Phoebus Dokos wrote:

>>Informed sources tell me (I feel like being mysterious at this hour :-) )
>>that there are a couple of 68EC060's about to appear on Ebay for around
>$25 plus shipping, look for them under electronic parts within 12 hours or
>>so...

>It was one and now its gone :-)

I meant in addition to THAT one! The guy has 5-6 more, they ae going to be
on Ebay sometime this evening, US west coast time (GMT - 8).

Nasta


0




Re: [ql-users] May be of interest to potential Q60 buyers

2001-05-18 Thread Phoebus Dokos

At 01:00 ðì 18/5/2001 -0400, you wrote:
>Informed sources tell me (I feel like being mysterious at this hour :-) )
>that there are a couple of 68EC060's about to appear on Ebay for around $25
>plus shipping, look for them under electronic parts within 12 hours or
>so...
>
>Nasta
It was one and now its gone :-)
Phoebys




Re: [ql-users] another float question

2001-05-18 Thread ZN

>> The M68000 Family Programmer's Reference Manual (which covers the
>> 68040) states the range of a double precision real as  2.2 x 10^-308 to 
>> 1.8 x 10^308.  It is an eight byte format as shown:
>
>This has nothing to do the with QL FP format. The format QDOS uses is
>not IEEE compatible.

IIRC the QL uses a 32-bit signed mantissa (not a fraction), with a 12-bit
exponent (although they could have used a 15-bit exponent!). That would put
the range at rougly 2^(+/-4096) with slightly over 9 digit precision, the
largest magnitude number would be cca 1E616, the smallest 1E-625 (the later
with less than a digit of precision!). I would trust Marcel's calculation
over mine, though, he's just recently looked at the code, and I'm trying to
remember things from a good decade ago at least. The easyest 68k FPU format
to convert to/from Ql format is the 80-bit extended format.

Normalisation: The process of converting the mantissa to a represenattion
which offers the best precision. Basically, the mantissa is shifted left
until there is a 1 in the MSB position, and for every shift the exponent is
reduced by 1. This means that by definition, the MSB in the mantissa will
therefore always end up being 1, and all mantisae will be look something
like 1.. There is no sense in storing the 1 - it is implied.
Instead, only the . part is stored, which is why it is called a
'fraction' and not a mantissa. This 'bit-saving' is important for formats
that store the mantissa in a number of bits that is later expanded to a
data type more likely to be found in a common CPU - such as a long word, or
two long words. On the QL the mantissa is already 32 bits, which is the
largest CPU-native data type. Since the mantissa is not going to be
expanded, on the QL the implied 1, IIRC, is not removed, so the mantissa is
really a mantissa, not a fraction.

Nasta




Re: [ql-users] another float question

2001-05-18 Thread Marcel Kilgus

[EMAIL PROTECTED] wrote: 
> The M68000 Family Programmer's Reference Manual (which covers the
> 68040) states the range of a double precision real as  2.2 x 10^-308 to 
> 1.8 x 10^308.  It is an eight byte format as shown:

This has nothing to do the with QL FP format. The format QDOS uses is
not IEEE compatible.

Marcel




RE: [ql-users] another float question

2001-05-18 Thread Ian . Pine

The M68000 Family Programmer's Reference Manual (which covers the 
68040) states the range of a double precision real as  2.2 x 10^-308 to 
1.8 x 10^308.  It is an eight byte format as shown:
63 6252 51 0
--  
|s|exponent|fraction|   (They use 'fraction' instead of 'mantissa'.)

It also states that the supported formats comply fully with IEEE 754. 

Ian.

-Original Message-
From: jerome.grimbert 
Sent: 18 May 2001 09:17
To: ql-users
Cc: jerome.grimbert
Subject: [ql-users] another float question



I have a strange question about float number:
 what are the maximal and minimal values for a float, on the QL.

I have found the answer for Abacus (it's in the doc!), but
not for the SBasic/whole system.




Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.




Re: [ql-users] another float question

2001-05-18 Thread Marcel Kilgus

Jerome Grimbert wrote: 
> I have a strange question about float number:
>  what are the maximal and minimal values for a float, on the QL.

That should be from 1E-620 to 1.615850285E616.

Marcel




RE: [ql-users] another float question

2001-05-18 Thread Norman Dunbar

-Original Message-
From: Claude Mourier 00 [mailto:[EMAIL PROTECTED]]

>> Il me semble qu'à l'origine la pub parlait 10^512 et 10^-512 ou quelque
>> chose comme ça (qui n'a guère de sens avec seulement 7 chiffres
>> significatifs)

That's easy for you to say :o)

I thought it was about 10^604 and 10^-604 but I could be wrong - I can't
remember back to the original review in PCW when the QL first came out. :o)

Norman.



Norman Dunbar   EMail:  [EMAIL PROTECTED]
Database/Unix administrator Phone:  0113 289 6265
Lynx Financial Systems Ltd. Fax:0113 201 7265
URL:http://www.LynxFinancialSystems.com





RE: [ql-users] another float question

2001-05-18 Thread Claude Mourier 00

Il me semble qu'à l'origine la pub parlait 10^512 et 10^-512 ou quelque
chose comme ça (qui n'a guère de sens avec seulement 7 chiffres
significatifs)

-Message d'origine-
De : Jerome Grimbert [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 18 mai 2001 10:17
À : [EMAIL PROTECTED]
Objet : [ql-users] another float question



I have a strange question about float number:
 what are the maximal and minimal values for a float, on the QL.

I have found the answer for Abacus (it's in the doc!), but
not for the SBasic/whole system.




[ql-users] another float question

2001-05-18 Thread Jerome Grimbert


I have a strange question about float number:
 what are the maximal and minimal values for a float, on the QL.

I have found the answer for Abacus (it's in the doc!), but
not for the SBasic/whole system.





Re: [ql-users] May be of interest to potential Q60 buyers

2001-05-18 Thread Phoebus Dokos

At 01:00 ðì 18/5/2001 -0400, you wrote:
>Informed sources tell me (I feel like being mysterious at this hour :-) )
>that there are a couple of 68EC060's about to appear on Ebay for around $25
>plus shipping, look for them under electronic parts within 12 hours or
>so...
>
>Nasta

Other informed sources (even more mysterious at THIS hour) tell me that Mr. 
Sinclair_QL will be bidding on them :-)

Phoebus