source: git/Tst/Manual/splitring.tst @ 7161aca

fieker-DuValspielwiese
Last change on this file since 7161aca was 894057, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
  • Property mode set to 100644
File size: 357 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "primitiv.lib";
3ring r=0,(x,y),dp;
4def r1=splitring(x2-2);
5setring r1; basering;    // change to Q(sqrt(2))
6// change to Q(sqrt(2),sqrt(sqrt(2)))=Q(a) and return the transformed
7// old parameter:
8def r2=splitring(x2-a,a);
9setring r2; basering; erg;
10// the result is (a)^2 = (sqrt(sqrt(2)))^2
11kill r1; kill r2;
12tst_status(1);$
Note: See TracBrowser for help on using the repository browser.