Commit | Line | Data |
---|---|---|
920dae64 AT |
1 | ------------------------------------------------------------------------ |
2 | -- testall.decTest -- run all general decimal arithmetic testcases -- | |
3 | -- Copyright (c) IBM Corporation, 1981, 2004. All rights reserved. -- | |
4 | ------------------------------------------------------------------------ | |
5 | -- Please see the document "General Decimal Arithmetic Testcases" -- | |
6 | -- at http://www2.hursley.ibm.com/decimal for the description of -- | |
7 | -- these testcases. -- | |
8 | -- -- | |
9 | -- These testcases are experimental ('beta' versions), and they -- | |
10 | -- may contain errors. They are offered on an as-is basis. In -- | |
11 | -- particular, achieving the same results as the tests here is not -- | |
12 | -- a guarantee that an implementation complies with any Standard -- | |
13 | -- or specification. The tests are not exhaustive. -- | |
14 | -- -- | |
15 | -- Please send comments, suggestions, and corrections to the author: -- | |
16 | -- Mike Cowlishaw, IBM Fellow -- | |
17 | -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- | |
18 | -- mfc@uk.ibm.com -- | |
19 | ------------------------------------------------------------------------ | |
20 | version: 2.39 | |
21 | ||
22 | -- core tests (using Extended: 1) -------------------------------------- | |
23 | dectest: base | |
24 | dectest: abs | |
25 | dectest: add | |
26 | dectest: clamp | |
27 | dectest: compare | |
28 | dectest: divide | |
29 | dectest: divideint | |
30 | dectest: inexact | |
31 | dectest: max | |
32 | dectest: min | |
33 | dectest: minus | |
34 | dectest: multiply | |
35 | dectest: normalize | |
36 | dectest: plus | |
37 | dectest: power | |
38 | dectest: quantize | |
39 | dectest: randoms | |
40 | dectest: remainder | |
41 | dectest: remaindernear | |
42 | dectest: rescale -- [obsolete] | |
43 | dectest: rounding | |
44 | dectest: samequantum | |
45 | dectest: squareroot | |
46 | dectest: subtract | |
47 | dectest: tointegral | |
48 | dectest: trim | |
49 | ||
50 | -- The next are for the Strawman 4d concrete representations | |
51 | dectest: decimal32 | |
52 | dectest: decimal64 | |
53 | dectest: decimal128 | |
54 | ||
55 | ||
56 | -- General 31->33-digit boundary tests | |
57 | dectest: randombound32 | |
58 |