Re: QL_Sinclair
A friend bought a QL when they first came out. He wrote a quick test programme to do a simple calculation that he could check with a calculator. The answers were different, not by much - but different.
The test programme used root(2). So he changed it to find root(2.00001) and the answer was bang on.
Basically, commonly used constants, e, pi, root(2) etc were stored in ROM, and the guy (probably with Sinclair breathing down his neck) put in a slightly wrong value for root(2).
Entering not quite an integer argument made the machine do the calculation instead of using the ROM value.
Craig
|