1------------------------------------------------------------------------
2-- dqClass.decTest -- decQuad Class operations                        --
3-- Copyright (c) IBM Corporation, 1981, 2008.  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------------------------------------------------------------------------
20version: 2.59
21
22-- [New 2006.11.27]
23
24extended:    1
25clamp:       1
26precision:   34
27maxExponent: 6144
28minExponent: -6143
29rounding:    half_even
30
31dqcla001  class    0                        -> +Zero
32dqcla002  class    0.00                     -> +Zero
33dqcla003  class    0E+5                     -> +Zero
34dqcla004  class    1E-6176                  -> +Subnormal
35dqcla005  class  0.1E-6143                  -> +Subnormal
36dqcla006  class  0.99999999999999999999999999999999E-6143     -> +Subnormal
37dqcla007  class  1.00000000000000000000000000000000E-6143     -> +Normal
38dqcla008  class   1E-6143                   -> +Normal
39dqcla009  class   1E-100                    -> +Normal
40dqcla010  class   1E-10                     -> +Normal
41dqcla012  class   1E-1                      -> +Normal
42dqcla013  class   1                         -> +Normal
43dqcla014  class   2.50                      -> +Normal
44dqcla015  class   100.100                   -> +Normal
45dqcla016  class   1E+30                     -> +Normal
46dqcla017  class   1E+6144                   -> +Normal
47dqcla018  class   9.99999999999999999999999999999999E+6144    -> +Normal
48dqcla019  class   Inf                       -> +Infinity
49
50dqcla021  class   -0                        -> -Zero
51dqcla022  class   -0.00                     -> -Zero
52dqcla023  class   -0E+5                     -> -Zero
53dqcla024  class   -1E-6176                  -> -Subnormal
54dqcla025  class  -0.1E-6143                 -> -Subnormal
55dqcla026  class  -0.99999999999999999999999999999999E-6143    -> -Subnormal
56dqcla027  class  -1.00000000000000000000000000000000E-6143    -> -Normal
57dqcla028  class  -1E-6143                   -> -Normal
58dqcla029  class  -1E-100                    -> -Normal
59dqcla030  class  -1E-10                     -> -Normal
60dqcla032  class  -1E-1                      -> -Normal
61dqcla033  class  -1                         -> -Normal
62dqcla034  class  -2.50                      -> -Normal
63dqcla035  class  -100.100                   -> -Normal
64dqcla036  class  -1E+30                     -> -Normal
65dqcla037  class  -1E+6144                   -> -Normal
66dqcla0614  class  -9.99999999999999999999999999999999E+6144    -> -Normal
67dqcla039  class  -Inf                       -> -Infinity
68
69dqcla041  class   NaN                       -> NaN
70dqcla042  class  -NaN                       -> NaN
71dqcla043  class  +NaN12345                  -> NaN
72dqcla044  class   sNaN                      -> sNaN
73dqcla045  class  -sNaN                      -> sNaN
74dqcla046  class  +sNaN12345                 -> sNaN
75
76
77
78