On Mon, 10 Mar 2003 at 17:44:27, Claude Mourier 00 wrote: (ref: <[EMAIL PROTECTED]>)
De : Tony Firshman [mailto:[EMAIL PROTECTED] Envoye : lundi 10 mars 2003 17:32 A : [EMAIL PROTECTED] Objet : Re: [ql-users] Sbasic and numbers
On Mon, 10 Mar 2003 at 15:45:29, Claude Mourier 00 wrote: (ref: <[EMAIL PROTECTED]>)
Marcel gives already the right (and only ?) answer : always use integer representation for number then convert them with IDEC$/FDEC$. Sad method as this slow down a lot the process.
This is no good for QDOS - it does not use integers. It 'says' it does, but works with FP internally. ie it converts integers to FP, works with that and then converts back - ie integer arithmetic will be slow and unreliable.
Minerva was the first to introduce 'real' integers, followed by SMSQ.
Exactly - and it is not actually using integers at all. It is converting into floating point internally.
? I never notice a problem as far as there is no more than 9 digits envolved ... except it's slow
Integers are really not used by QDOS - in calculations certainly.
Lau ought to chip in here with the definitive statement.
-- QBBS (QL fido BBS 2:252/67) +44(0)1442-828255 tony@<surname>.co.uk http://www.firshman.co.uk Voice: +44(0)1442-828254 Fax: +44(0)1442-828255 TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG