Skip to content

Instantly share code, notes, and snippets.

@tomaes

tomaes/dotvszero.bas

Last active Apr 15, 2020
Embed
What would you like to do?
P=. versus P=0 actually makes a significant difference (plus4, PET, C64, VC20)
10 rem p=. vs p=0 results:
11 rem plus4 : 16%
12 rem pet : 19%
13 rem c64 : 20%
14 rem vc20 : 22%
15 :
20 t=ti
21 for i=0 to 499: p=0: next
22 a=ti-t
23 print "p=0 :";a
24 t=ti
25 for i=0 to 499: p=.: next
26 b=ti-t
27 print "p=. :";b
28 print "diff:"(1.-(b/a))*100"%"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.