source: git/Tst/Short/bug_div.tst @ 29fc843

spielwiese
Last change on this file since 29fc843 was fd2cec, checked in by Hans Schönemann <hannes@…>, 14 years ago
more missing bigint operations git-svn-id: file:///usr/local/Singular/svn/trunk@12363 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 562 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4// missing operations with reals/bigints:
5
6ring r10 = (real,10,20),x,dp;
7 1/0;
80/0;
9impart(0);
10repart(0);
11
12ring r = real,x,dp;
13 1/0;
140/0;
15impart(0);
16repart(0);
17ring r11 = (complex,i),x,dp;
18 1/0;
190/0;
20impart(0);
21repart(0);
22
23bigint M = 6;
24 -M;
250-M;      // Nur als Subtraktion
26-1*M;     // oder als Multilpikation moeglich
27int m = 6;  // fuer int OK
28-m;
29
30// ----------------------------------------
31
32kill M;
33ring rr=0,(x,y,z),dp;
34matrix M[1][3]=x,y,z;
35ideal I=x2+1,y2+3,z2+5;
36bigint p=3;
37
38M+3*matrix(I);
39M+p*matrix(I);
40
41tst_status(1);$
Note: See TracBrowser for help on using the repository browser.