add regex REG_ICASE test for austingroupbug #872
[libc-test] / src / math / ucb / fabs.h
1 // Copyright (C) 1988-1994 Sun Microsystems, Inc. 2550 Garcia Avenue
2 // Mountain View, California  94043 All rights reserved.
3 //
4 // Any person is hereby authorized to download, copy, use, create bug fixes,
5 // and distribute, subject to the following conditions:
6 //
7 //      1.  the software may not be redistributed for a fee except as
8 //          reasonable to cover media costs;
9 //      2.  any copy of the software must include this notice, as well as
10 //          any other embedded copyright notices; and
11 //      3.  any distribution of this software or derivative works thereof
12 //          must comply with all applicable U.S. export control laws.
13 //
14 // THE SOFTWARE IS MADE AVAILABLE "AS IS" AND WITHOUT EXPRESS OR IMPLIED
15 // WARRANTY OF ANY KIND, INCLUDING BUT NOT LIMITED TO THE IMPLIED
16 // WARRANTIES OF DESIGN, MERCHANTIBILITY, FITNESS FOR A PARTICULAR
17 // PURPOSE, NON-INFRINGEMENT, PERFORMANCE OR CONFORMANCE TO
18 // SPECIFICATIONS.
19 //
20 // BY DOWNLOADING AND/OR USING THIS SOFTWARE, THE USER WAIVES ALL CLAIMS
21 // AGAINST SUN MICROSYSTEMS, INC. AND ITS AFFILIATED COMPANIES IN ANY
22 // JURISDICTION, INCLUDING BUT NOT LIMITED TO CLAIMS FOR DAMAGES OR
23 // EQUITABLE RELIEF BASED ON LOSS OF DATA, AND SPECIFICALLY WAIVES EVEN
24 // UNKNOWN OR UNANTICIPATED CLAIMS OR LOSSES, PRESENT AND FUTURE.
25 //
26 // IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS AFFILIATED
27 // COMPANIES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL,
28 // INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF IT HAS BEEN ADVISED OF THE
29 // POSSIBILITY OF SUCH DAMAGES.
30 //
31 // This file is provided with no support and without any obligation on the
32 // part of Sun Microsystems, Inc. ("Sun") or any of its affiliated
33 // companies to assist in its use, correction, modification or
34 // enhancement.  Nevertheless, and without creating any obligation on its
35 // part, Sun welcomes your comments concerning the software and requests
36 // that they be sent to fdlibm-comments@sunpro.sun.com.
37 T(RN,                  0x0p+0,                  0x0p+0,          0x0p+0, 0)
38 T(RN,               0x1p-1074,               0x1p-1074,          0x0p+0, 0)
39 T(RN,               0x1p-1042,               0x1p-1042,          0x0p+0, 0)
40 T(RN,               0x1p-1022,               0x1p-1022,          0x0p+0, 0)
41 T(RN,                  0x1p+0,                  0x1p+0,          0x0p+0, 0)
42 T(RN, 0x1.fffffffffffffp+1023, 0x1.fffffffffffffp+1023,          0x0p+0, 0)
43 T(RN,                     inf,                     inf,          0x0p+0, 0)
44 T(RN,                     nan,                     nan,          0x0p+0, 0)
45 T(RN,                 -0x0p+0,                  0x0p+0,          0x0p+0, 0)
46 T(RN,              -0x1p-1074,               0x1p-1074,          0x0p+0, 0)
47 T(RN,              -0x1p-1042,               0x1p-1042,          0x0p+0, 0)
48 T(RN,              -0x1p-1022,               0x1p-1022,          0x0p+0, 0)
49 T(RN,   -0x1.000000000000fp+0,    0x1.000000000000fp+0,          0x0p+0, 0)
50 T(RN,-0x1.fffffffffffffp+1023, 0x1.fffffffffffffp+1023,          0x0p+0, 0)
51 T(RN,                    -inf,                     inf,          0x0p+0, 0)
52 T(RN,                     nan,                     nan,          0x0p+0, 0)
53 T(RD,                  0x0p+0,                  0x0p+0,          0x0p+0, 0)
54 T(RD,               0x1p-1074,               0x1p-1074,          0x0p+0, 0)
55 T(RD, 0x1.ffffffffffffep-1023, 0x1.ffffffffffffep-1023,          0x0p+0, 0)
56 T(RD,               0x1p+1023,               0x1p+1023,          0x0p+0, 0)
57 T(RD, 0x1.fffffffffffffp+1023, 0x1.fffffffffffffp+1023,          0x0p+0, 0)
58 T(RD,                     inf,                     inf,          0x0p+0, 0)
59 T(RD,                 -0x0p+0,                  0x0p+0,          0x0p+0, 0)
60 T(RD,              -0x1p-1074,               0x1p-1074,          0x0p+0, 0)
61 T(RD,-0x1.ffffffffffffep-1023, 0x1.ffffffffffffep-1023,          0x0p+0, 0)
62 T(RD,                 -0x1p+0,                  0x1p+0,          0x0p+0, 0)
63 T(RD,              -0x1p+1023,               0x1p+1023,          0x0p+0, 0)
64 T(RD,-0x1.fffffffffffffp+1023, 0x1.fffffffffffffp+1023,          0x0p+0, 0)
65 T(RD,                    -inf,                     inf,          0x0p+0, 0)
66 T(RD,                     nan,                     nan,          0x0p+0, 0)
67 T(RD,                     nan,                     nan,          0x0p+0, 0)
68 T(RN, 0x1.ffffffffffffep-1023, 0x1.ffffffffffffep-1023,          0x0p+0, 0)
69 T(RN,               0x1p+1023,               0x1p+1023,          0x0p+0, 0)
70 T(RN,-0x1.ffffffffffffep-1023, 0x1.ffffffffffffep-1023,          0x0p+0, 0)
71 T(RN,                 -0x1p+0,                  0x1p+0,          0x0p+0, 0)
72 T(RN,              -0x1p+1023,               0x1p+1023,          0x0p+0, 0)
73 T(RU,                  0x0p+0,                  0x0p+0,          0x0p+0, 0)
74 T(RU,               0x1p-1074,               0x1p-1074,          0x0p+0, 0)
75 T(RU, 0x1.ffffffffffffep-1023, 0x1.ffffffffffffep-1023,          0x0p+0, 0)
76 T(RU,                  0x1p+0,                  0x1p+0,          0x0p+0, 0)
77 T(RU,               0x1p+1023,               0x1p+1023,          0x0p+0, 0)
78 T(RU, 0x1.fffffffffffffp+1023, 0x1.fffffffffffffp+1023,          0x0p+0, 0)
79 T(RU,                     inf,                     inf,          0x0p+0, 0)
80 T(RU,                 -0x0p+0,                  0x0p+0,          0x0p+0, 0)
81 T(RU,              -0x1p-1074,               0x1p-1074,          0x0p+0, 0)
82 T(RU,-0x1.ffffffffffffep-1023, 0x1.ffffffffffffep-1023,          0x0p+0, 0)
83 T(RU,                 -0x1p+0,                  0x1p+0,          0x0p+0, 0)
84 T(RU,              -0x1p+1023,               0x1p+1023,          0x0p+0, 0)
85 T(RU,-0x1.fffffffffffffp+1023, 0x1.fffffffffffffp+1023,          0x0p+0, 0)
86 T(RU,                    -inf,                     inf,          0x0p+0, 0)
87 T(RU,                     nan,                     nan,          0x0p+0, 0)
88 T(RU,                     nan,                     nan,          0x0p+0, 0)
89 T(RZ,                  0x0p+0,                  0x0p+0,          0x0p+0, 0)
90 T(RZ,               0x1p-1074,               0x1p-1074,          0x0p+0, 0)
91 T(RZ, 0x1.ffffffffffffep-1023, 0x1.ffffffffffffep-1023,          0x0p+0, 0)
92 T(RZ,                  0x1p+0,                  0x1p+0,          0x0p+0, 0)
93 T(RZ,               0x1p+1023,               0x1p+1023,          0x0p+0, 0)
94 T(RZ, 0x1.fffffffffffffp+1023, 0x1.fffffffffffffp+1023,          0x0p+0, 0)
95 T(RZ,                     inf,                     inf,          0x0p+0, 0)
96 T(RZ,                 -0x0p+0,                  0x0p+0,          0x0p+0, 0)
97 T(RZ,              -0x1p-1074,               0x1p-1074,          0x0p+0, 0)
98 T(RZ,-0x1.ffffffffffffep-1023, 0x1.ffffffffffffep-1023,          0x0p+0, 0)
99 T(RZ,                 -0x1p+0,                  0x1p+0,          0x0p+0, 0)
100 T(RZ,              -0x1p+1023,               0x1p+1023,          0x0p+0, 0)
101 T(RZ,-0x1.fffffffffffffp+1023, 0x1.fffffffffffffp+1023,          0x0p+0, 0)
102 T(RZ,                    -inf,                     inf,          0x0p+0, 0)
103 T(RZ,                     nan,                     nan,          0x0p+0, 0)
104 T(RZ,                     nan,                     nan,          0x0p+0, 0)