A Sinclair BASIC version of the “Savage” floating-point benchmark from BYTE (1985), as presented by T. S. Kelso in Sky & Telescope in March 1987. It sends the number 1 through 2499 rounds of TAN/ATN, EXP/LN and SQR/square, adding 1 each time; the right answer is 2500, so the result shows the accuracy and the time taken shows the speed.
Mel Richardson’s T/S 1000 in FAST mode printed 2499.6758 after 15 minutes 29 seconds. The listing runs unchanged on the TS2068, and the download has both versions.
Published in Sinc-Link August 1987 (How Slow Is It?).
Source Code
1 REM >SAVAGE BENCHMARK<
5 CLEAR
10 LET A=1
20 FOR I=1 TO 2499
30 LET A=TAN (ATN (EXP (LN (SQR (A*A)))))+1
40 NEXT I
50 PRINT ANote: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.

