source: git/Tst/Wester/B.tst @ 33ec11

spielwiese
Last change on this file since 33ec11 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: 188 bytes
Line 
1LIB "tst.lib"; tst_init();
2
3ring R = 0, x, lp;
4number s;
5
6tst_InitTimer();
7
8for (int i = 1; i <= 1000; i++)
9{
10  s = s + 1/number(i);
11}
12
13tst_ReportTimer("B");
14
15s;
16kill R;
17
18tst_status(1); $
Note: See TracBrowser for help on using the repository browser.