spielwiese
Last change
on this file since ccbdf0 was
b806aa,
checked in by Hans Schönemann <hannes@…>, 17 years ago
|
*hannes: funny stuff in 3-0-3: fixed errors and default behav.
git-svn-id: file:///usr/local/Singular/svn/trunk@10293 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
397 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | // missing operations with reals/bigints: |
---|
5 | |
---|
6 | ring r10 = (real,10,20),x,dp; |
---|
7 | 1/0; |
---|
8 | 0/0; |
---|
9 | impart(0); |
---|
10 | repart(0); |
---|
11 | |
---|
12 | ring r = real,x,dp; |
---|
13 | 1/0; |
---|
14 | 0/0; |
---|
15 | impart(0); |
---|
16 | repart(0); |
---|
17 | ring r11 = (complex,i),x,dp; |
---|
18 | 1/0; |
---|
19 | 0/0; |
---|
20 | impart(0); |
---|
21 | repart(0); |
---|
22 | |
---|
23 | bigint M = 6; |
---|
24 | -M; |
---|
25 | 0-M; // Nur als Subtraktion |
---|
26 | -1*M; // oder als Multilpikation moeglich |
---|
27 | int m = 6; // fuer int OK |
---|
28 | -m; |
---|
29 | |
---|
30 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.