spielwiese
Last change
on this file since 2e49a5 was
2e49a5,
checked in by Olaf Bachmann <obachman@…>, 23 years ago
|
* initial commit
git-svn-id: file:///usr/local/Singular/svn/trunk@5001 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
230 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "general.lib"; |
---|
3 | ring r = 0,x,lp; |
---|
4 | int i; |
---|
5 | number p; |
---|
6 | |
---|
7 | |
---|
8 | tst_InitTimer(); |
---|
9 | |
---|
10 | for (i=1; i<=100; i++) |
---|
11 | { |
---|
12 | p = factorial(1000+i,0)/factorial(900+i, 0); |
---|
13 | } |
---|
14 | |
---|
15 | tst_ReportTimer("A"); |
---|
16 | p; |
---|
17 | kill r, i; |
---|
18 | |
---|
19 | tst_status(1); $ |
---|
20 | |
---|
Note: See
TracBrowser
for help on using the repository browser.