10-04-2018, 10:21 AM
I finally got my Prime G2. Thanks, De Rekenwinkel!
Of course, I had to benchmark the new hardware. I installed the proper beta firmware on both calculators and ran the following program:
The results (using TEVAL) were as follows:
Hardware C: 24.2 sec.
Hardware D: 7.2 sec.
As you can see, the HW D is over three times as fast as the HW C for THIS benchmark.
I make NO claims as to any other speed differences in any other programs. I just thought the results were interesting.
Of course, I had to benchmark the new hardware. I installed the proper beta firmware on both calculators and ran the following program:
PHP Code:
EXPORT HAT()
BEGIN
LOCAL XP,XR,YP,YR,ZP,XF,YF,ZF;
LOCAL ZI,ZT,XL,XI,XT,YY,X1,Y1;
LOCAL ZZ,XX;
RECT_P(0);
P:=160; Q:=120;
XP:=144; XR:=1.5*PI;
YP:=56; YR:=1; ZP:=64;
XF:=XR/XP; YF:=YP/YR; ZF:=XR/ZP;
FOR ZI:=-Q TO Q-1 DO
IF ZI >= -ZP AND ZI <= ZP THEN
ZT:=ZI*XP/ZP; ZZ:=ZI;
XL:=IP(.5+SQRT(XP*XP-ZT*ZT));
FOR XI:=-XL TO XL DO
XT:=SQRT(XI*XI+ZT*ZT)*XF; XX:=XI;
YY:=(SIN(XT)+.4*SIN(3*XT))*YF;
X1:=XX+ZZ+P;
Y1:=YY-ZZ+Q;
PIXON_P(X1,239-Y1,#00FF00);
IF Y1 <> 0 THEN
LINE_P(X1,240-Y1,X1,239,0)
END;
END;
END;
END;
FREEZE;
END;
The results (using TEVAL) were as follows:
Hardware C: 24.2 sec.
Hardware D: 7.2 sec.
As you can see, the HW D is over three times as fast as the HW C for THIS benchmark.
I make NO claims as to any other speed differences in any other programs. I just thought the results were interesting.