>       Nice quicky for you.
> 
>       Just done Floating POint Numbers in my Maths course, and I was wondering
> what the Sam used, ie mantisa length and maximum exponent.

Hum...eh...errr..not entirely sure about this, but...(recognize this one :))

Well, the SAM (as the spectrum) uses 7 bits for the exponent and 1
bit for the sign of the exponent. Then it uses 4 bytes for the mentissa.
(I think)

Anyway, what I was going to say was that I once wrote a fixed
point calculator for the basic calculations (+-*/) that
used 128 bits for the mentissa, and it was dead slow ;)

>       I want to do my homework on my Sam, just to see if the lecturer will
> have heard off it :)

Give him some hook-code calls :-)

> 
> Tim
> -- 
> Tim Paveley 
> Maths with Computer Science
> 


-- 
^ One To-day is Worth Two To-morrows (Ben Franklin)             ^
| ....or: One To-morrow is Worth a Quarter of One Yester-day... |
| Frode Tennebo                 | email: [EMAIL PROTECTED]      |       
| ECP/PT, CERN, Switzerland     | http://www.hiMolde.no/~frodet |
| Phone: +33 50 28 26 17        | [EMAIL PROTECTED]                      |

Reply via email to