File: polyrat.tst

package info (click to toggle)
gap 4.15.1-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 110,212 kB
  • sloc: ansic: 97,261; xml: 48,343; cpp: 13,946; sh: 4,900; perl: 1,650; javascript: 255; makefile: 252; ruby: 9
file content (16 lines) | stat: -rw-r--r-- 443 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#@local A,Fam7,Fam8,Famp,G,R,enum,l,len,m,m2,m3,m4,one,p
#@local rings,x,z0,z1,z2,z3,i,a,b,y
gap> START_TEST("polyrat.tst");

#
gap> ApproximateRoot(2,2);
779770732423810/551381172667677
gap> ApproximateRoot(2,2)^2-2;
-183963906236558/304021197572382638000680576329
gap> ApproximateRoot(2,2,20);
61816429438630776653272737/43710816444795547405901687
gap> ApproximateRoot(2,2);
779770732423810/551381172667677

#
gap> STOP_TEST("polyrat.tst");