Рет қаралды 6,636
I show two testruns between the DM32 and the famous DM42. The result is that both of them play in the same ballpark. I'd say they're par. But others say other things, you might want to read this thread:
forum.swissmic...
By the way, at the time being the DM32 does not have implemented the fast mode into which the DM42 switches when on a power line! The great news is, that the developers at SwissMicros have exactly this in mind, it is planned to implement this function in the near future, and this will speed up the DM32 even more as soon as it works on USB power!
Here's the program to compute the Collatz sequence:
LBL C
ENTER
ENTER
STO A
RCL A
2
÷
FP - see hint below -
2
x
X=0?
GTO D
GTO E
LBL D
RCL A
2
÷
PSE
STO A
1
X-Y - swap x and y -
X≤Y?
GTO F
GTO C
LBL E
RCL A
3
x
1
+
PSE
STO A
GTO C
LBL F
RCL A
Remarks:
1. The FP function is in the PARTS menu.
2. I must not use angled brackets here, see the X-Y swap command.