Post Reply 
new Casio’s fx-CG50
08-05-2018, 10:03 AM
Post: #39
RE: new Casio’s fx-CG50
More benchmarking:

I reformatted the HP39GII code for the 100x60 pixel field Mandelbrot set so that it would run on the HP Prime.

Code:

EXPORT Mand()
BEGIN
RECT();       
FOR X FROM 1 TO 100 DO 
 FOR Y FROM 1 TO 60 DO
   A:=(X-50)/30; 
   B:=(Y-30)/30;
   C:=A;      
   D:=B; 
   N:=0;    
   S:=1;  
   REPEAT
     N:=N+1;           
     G:=A*A-B*B+C;      
     B:=2*A*B+D;       
     A:=G;              
     If A*A+B*B > 4 THEN 
     S:=0;     
     END;
  UNTIL (N = 20 OR S=0); 
  If S=1 THEN
  PIXON_P(X,Y) 
  END;
 END;
END;
TEXTOUT_P("DONE",0,80);  
FREEZE;  
END;

Here is the updated benchmark table:

HP Prime, 13 seconds
HP39GII, 44 seconds
fx-CG50 C.Basic for CG Alpha, 30 seconds
fx-CG50 stock Casio Basic , 608 seconds
fx-9860G stock Casio Basic, 643 seconds

The Prime's much faster system clock wins the day.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
new Casio’s fx-CG50 - compsystems - 01-15-2017, 02:39 AM
RE: new Casio’s fx-CG50 - Csaba Tizedes - 01-15-2017, 12:50 PM
RE: new Casio’s fx-CG50 - klesl - 01-15-2017, 02:16 PM
RE: new Casio’s fx-CG50 - Vtile - 01-15-2017, 04:47 PM
RE: new Casio’s fx-CG50 - Eddie W. Shore - 01-16-2017, 04:46 PM
RE: new Casio’s fx-CG50 - Eddie W. Shore - 01-27-2017, 02:16 PM
RE: new Casio’s fx-CG50 - zwertz - 01-17-2017, 07:57 PM
RE: new Casio’s fx-CG50 - Anderson Costa - 01-17-2017, 09:50 PM
RE: new Casio’s fx-CG50 - Adriweb - 01-19-2017, 07:34 PM
RE: new Casio’s fx-CG50 - vido - 01-29-2017, 10:31 PM
RE: new Casio’s fx-CG50 - compsystems - 01-29-2017, 03:12 PM
RE: new Casio’s fx-CG50 - Luigi Vampa - 01-29-2017, 04:41 PM
RE: new Casio’s fx-CG50 - jebem - 01-30-2017, 02:23 PM
RE: new Casio’s fx-CG50 - rprosperi - 01-30-2017, 08:58 PM
RE: new Casio’s fx-CG50 - jebem - 01-31-2017, 03:19 PM
RE: new Casio’s fx-CG50 - jebem - 05-09-2018, 06:04 PM
RE: new Casio’s fx-CG50 - rprosperi - 05-09-2018, 06:56 PM
RE: new Casio’s fx-CG50 - jebem - 05-10-2018, 07:27 AM
RE: new Casio’s fx-CG50 - Thomas Radtke - 02-01-2017, 03:16 PM
RE: new Casio’s fx-CG50 - Luigi Vampa - 02-18-2017, 09:49 AM
RE: new Casio’s fx-CG50 - Luigi Vampa - 02-21-2017, 07:42 AM
RE: new Casio’s fx-CG50 - EdDereDdE - 02-22-2017, 09:45 AM
RE: new Casio’s fx-CG50 - Luigi Vampa - 02-23-2017, 07:43 AM
RE: new Casio’s fx-CG50 - EdDereDdE - 03-01-2017, 02:12 PM
RE: new Casio’s fx-CG50 - pier4r - 05-10-2018, 06:36 PM
RE: new Casio’s fx-CG50 - Chasfield - 08-03-2018, 01:47 PM
RE: new Casio’s fx-CG50 - Helix - 08-03-2018, 10:08 PM
RE: new Casio’s fx-CG50 - Dave Britten - 08-03-2018, 06:04 PM
RE: new Casio’s fx-CG50 - Chasfield - 08-04-2018, 09:13 AM
RE: new Casio’s fx-CG50 - Chasfield - 08-04-2018, 03:30 PM
RE: new Casio’s fx-CG50 - Jlouis - 08-04-2018, 03:40 PM
RE: new Casio’s fx-CG50 - Dave Britten - 08-04-2018, 04:10 PM
RE: new Casio’s fx-CG50 - Jlouis - 08-04-2018, 04:28 PM
RE: new Casio’s fx-CG50 - ijabbott - 08-04-2018, 04:31 PM
RE: new Casio’s fx-CG50 - Jlouis - 08-04-2018, 04:46 PM
RE: new Casio’s fx-CG50 - Dave Britten - 08-04-2018, 05:43 PM
RE: new Casio’s fx-CG50 - Chasfield - 08-05-2018 10:03 AM
RE: new Casio’s fx-CG50 - Jlouis - 08-05-2018, 03:50 PM
RE: new Casio’s fx-CG50 - Helix - 08-05-2018, 03:21 PM
RE: new Casio’s fx-CG50 - Chasfield - 08-05-2018, 06:54 PM
RE: new Casio’s fx-CG50 - Csaba Tizedes - 08-06-2018, 12:06 PM
RE: new Casio’s fx-CG50 - ijabbott - 08-06-2018, 01:29 PM
RE: new Casio’s fx-CG50 - Dave Britten - 08-06-2018, 02:49 PM
RE: new Casio’s fx-CG50 - ijabbott - 08-06-2018, 09:44 PM
RE: new Casio’s fx-CG50 - DA74254 - 09-21-2019, 08:08 PM
RE: new Casio’s fx-CG50 - Dave Britten - 09-21-2019, 08:56 PM
RE: new Casio’s fx-CG50 - DA74254 - 09-21-2019, 09:46 PM



User(s) browsing this thread: 2 Guest(s)