Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/profiling/tst/   (GAP Algebra Version 4.15.1©)  Datei vom 21.5.2025 mit Größe 279 B image not shown  

Quelle  testcode2.g  Sprache: unbekannt

 
Spracherkennung für: .g vermutete Sprache: Lisp {Lisp[65] Masm[65] Shell[50]} [Methode: maximale Elemente, drei Dimensionen]

# This code is just some test code, for checking profiling

g := function(a)
 local x;
 x := 0;
 if a < 1 then
  x := 3;
 fi;
 if a > 1 then
  x := 2;
 fi;
 if a > 2 then
  x := 1;
 fi;
 Intersection(AlternatingGroup(8), AlternatingGroup(8)*(1,2));
 return x;
end;

g(2);
g(-2);

[Dauer der Verarbeitung: 0.2 Sekunden, vorverarbeitet 2026-10-24]