Talk:SmileBASIC (Petit Computer 3)/@comment-15296152-20141126001851/@comment-14513004-20141126043809

PTC3 result.

- 1st test - 500k iterations using float 3.16666667 seconds Avg: 2631.57894737/s 500k iterations using int 3.2 seconds Avg: 2604.16666667/s

- 2nd test - 500k iterations using float 3.18333333 seconds Avg: 2617.80104712/s 500k iterations using int 3.21666667 seconds Avg: 2590.67357513/s

- 3rd test - 500k iterations using float 3.2 seconds Avg: 2604.16666667/s 500k iterations using int 3.21666667 seconds Avg: 2590.67357513/s

I tested same code with PTC2. CLS A=0:B=0 VSYNC 1 F=MAINCNTL FOR I=1 TO 500000 A=A+1 B=A/500 NEXT F=MAINCNT-F ?"500k iterations using float" ?F/60;" seconds" ?"Avg: ";500000/F;"/s"

- 1st test - 500k iterations 26.487 seconds Avg: 314.663/s

- 2nd test - 500k iterations 26.483 seconds Avg: 314.663/s

- 3rd test - 500k iterations 26.467 seconds Avg: 314.861/s