User Tools

Site Tools


space-saving-numbers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
space-saving-numbers [2016/06/03 08:32] darkbytespace-saving-numbers [2022/07/24 17:05] (current) darkbyte
Line 1: Line 1:
 +====Space saving numbers in BASIC====
 +
 +----
 +
 <code> <code>
 Int     Real     Basic Int     Real     Basic
Line 18: Line 22:
 0       0.36     EXP COS PI 0       0.36     EXP COS PI
 1       0.54     COS SGN PI 1       0.54     COS SGN PI
 +1       0.57     LN SQR PI
 1       0.58     TAN PEEK PI 1       0.58     TAN PEEK PI
 1       0.84     SIN SGN PI 1       0.84     SIN SGN PI
Line 23: Line 28:
 1       1.07     SQR LN PI 1       1.07     SQR LN PI
 2       1.55     TAN SGN PI 2       1.55     TAN SGN PI
-2       1.57     LN SQR PI 
 2       1.77     SQR PI 2       1.77     SQR PI
 2       2.23     TAN EXP PI 2       2.23     TAN EXP PI
Line 32: Line 36:
 6       5.88     EXP SQR PI 6       5.88     EXP SQR PI
 6       6.28     PI+PI 6       6.28     PI+PI
 +9 9 LEN STR$ PI
 10      9.87     PI*PI 10      9.87     PI*PI
 16      15.9     SQR PEEK PI 16      15.9     SQR PEEK PI
Line 38: Line 43:
 23      23.1     EXP PI 23      23.1     EXP PI
 36      36.4     PI^PI 36      36.4     PI^PI
 +51 51 CODE STR$ PI
 175     175      PEEK SGN PI 175     175      PEEK SGN PI
 206     206      PEEK PEEK PI 206     206      PEEK PEEK PI
Line 46: Line 52:
 </code> </code>
  
 +----
  
-Navigation: [[general]] . [[math]] . [[graphic]] . [[sound]] . [[system]] . [[other]] . back to [[start]]+**Navigation: [[general]] . [[math]] . [[graphic]] . [[sound]] . [[system]] . [[other]] . back to [[start]]**
space-saving-numbers.1464935552.txt.gz · Last modified: 2016/06/03 08:32 by darkbyte