User Tools

Site Tools


space-saving-numbers

Space saving numbers in BASIC


Int     Real     Basic
===     ====     =====
-5      -4.9     TAN SQR PI
-3      -3.1     -PI
-2      -1.5     TAN COS PI
-1      -1       COS PI
-1      -.990    COS INT PI
-1      -.912    SIN EXP PI
-1      -.862    COS PEEK PI
-1      -.506    SIN PEEK PI
0       -.409    COS EXP PI
0       -.043    EXP -PI
0       -7.3e-10 SIN -PI
0       0        NOT PI, SIN PI, TAN PI
0       7.3e-10  TAN -PI
0       0.14     SIN INT PI
0       0.36     EXP COS PI
1       0.54     COS SGN PI
1       0.57     LN SQR PI
1       0.58     TAN PEEK PI
1       0.84     SIN SGN PI
1       1        SGN PI
1       1.07     SQR LN PI
2       1.55     TAN SGN PI
2       1.77     SQR PI
2       2.23     TAN EXP PI
3       3        INT PI
3       3.14     PI
5       4.81     SQR EXP PI
6       5.54     LN PEEK PI
6       5.88     EXP SQR PI
6       6.28     PI+PI
9	9	 LEN STR$ PI
10      9.87     PI*PI
16      15.9     SQR PEEK PI
17      17       PEEK SQR PI
20      20.1     EXP INT PI
23      23.1     EXP PI
36      36.4     PI^PI
51	51	 CODE STR$ PI
175     175      PEEK SGN PI
206     206      PEEK PEEK PI
243     243      PEEK NOT PI
255     255      PEEK PI
1.1e10  1.1e10   EXP EXP PI
Overflow >10^38  EXP PEEK PI

Navigation: general . math . graphic . sound . system . other . back to start

space-saving-numbers.txt · Last modified: 2022/07/24 17:05 by darkbyte