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 // sind(+-max) 38 // sind(tiny) is tiny 39 T(RN, 0x1p-30, 0x1p-30, 0x1.555556p-11, INEXACT) 40 T(RN, -0x1p-30, -0x1p-30, -0x1.555556p-11, INEXACT) 41 T(RN, 0x1p-1022, 0x1p-1022, 0x0p+0, INEXACT) 42 T(RN, -0x1p-1022, -0x1p-1022, 0x0p+0, INEXACT) 43 T(RN, 0x1p-1074, 0x1p-1074, 0x0p+0, INEXACT|UNDERFLOW) 44 T(RN, -0x1p-1074, -0x1p-1074, 0x0p+0, INEXACT|UNDERFLOW) 45 T(RN, 0x0p+0, 0x0p+0, 0x0p+0, 0) 46 T(RN, -0x0p+0, -0x0p+0, 0x0p+0, 0) 47 T(RZ, 0x0p+0, 0x0p+0, 0x0p+0, 0) 48 T(RZ, -0x0p+0, -0x0p+0, 0x0p+0, 0) 49 T(RU, 0x0p+0, 0x0p+0, 0x0p+0, 0) 50 T(RU, -0x0p+0, -0x0p+0, 0x0p+0, 0) 51 T(RD, 0x0p+0, 0x0p+0, 0x0p+0, 0) 52 T(RD, -0x0p+0, -0x0p+0, 0x0p+0, 0) 53 // sind(nan or inf) is nan 54 T(RN, inf, nan, 0x0p+0, INVALID) 55 T(RN, -inf, nan, 0x0p+0, INVALID) 56 T(RN, nan, nan, 0x0p+0, 0) 57 T(RN, nan, nan, 0x0p+0, 0) 58 T(RD, 0x1.0000000000001p-1022, 0x1p-1022, -0x1p+0, INEXACT) 59 T(RD, 0x1.0000000000002p-1022, 0x1.0000000000001p-1022, -0x1p+0, INEXACT) 60 T(RD, 0x1p-1021, 0x1.fffffffffffffp-1022, -0x1p+0, INEXACT) 61 T(RD, 0x1p-1020, 0x1.fffffffffffffp-1021, -0x1p+0, INEXACT) 62 T(RD,-0x1.0000000000001p-1022,-0x1.0000000000001p-1022, 0x0p+0, INEXACT) 63 T(RD,-0x1.0000000000002p-1022,-0x1.0000000000002p-1022, 0x0p+0, INEXACT) 64 T(RD,-0x1.ffffffffffffbp-1022,-0x1.ffffffffffffbp-1022, 0x0p+0, INEXACT) 65 T(RD, -0x1p-1021, -0x1p-1021, 0x0p+0, INEXACT) 66 T(RD,-0x1.0000000000003p-1021,-0x1.0000000000003p-1021, 0x0p+0, INEXACT) 67 T(RD, -0x1p-1020, -0x1p-1020, 0x0p+0, INEXACT) 68 T(RD, -0x1.8p-27, -0x1.8p-27, -0x1.2p-3, INEXACT) 69 T(RD, -0x1p-26, -0x1p-26, -0x1.555556p-3, INEXACT) 70 T(RD, 0x1p-1074, 0x0p+0, -0x1p+0, INEXACT|UNDERFLOW) 71 T(RD, 0x1p-1073, 0x1p-1074, -0x1p+0, INEXACT|UNDERFLOW) 72 T(RD, 0x1p-1024, 0x1.ffffffffffff8p-1025, -0x1p+0, INEXACT|UNDERFLOW) 73 T(RD, 0x1p-1023, 0x1.ffffffffffffcp-1024, -0x1p+0, INEXACT|UNDERFLOW) 74 T(RD, 0x1.ffffffffffffcp-1023, 0x1.ffffffffffffap-1023, -0x1p+0, INEXACT|UNDERFLOW) 75 T(RD, 0x1.ffffffffffffep-1023, 0x1.ffffffffffffcp-1023, -0x1p+0, INEXACT|UNDERFLOW) 76 T(RD, 0x1p-1022, 0x1.ffffffffffffep-1023, -0x1p+0, INEXACT|UNDERFLOW) 77 T(RD, -0x1p-1074, -0x1p-1074, 0x0p+0, INEXACT|UNDERFLOW) 78 T(RD, -0x1p-1073, -0x1p-1073, 0x0p+0, INEXACT|UNDERFLOW) 79 T(RD, -0x1.2p-1071, -0x1.2p-1071, 0x0p+0, INEXACT|UNDERFLOW) 80 T(RD, -0x1p-1024, -0x1p-1024, 0x0p+0, INEXACT|UNDERFLOW) 81 T(RD, -0x1p-1023, -0x1p-1023, 0x0p+0, INEXACT|UNDERFLOW) 82 T(RD,-0x1.ffffffffffffcp-1023,-0x1.ffffffffffffcp-1023, 0x0p+0, INEXACT|UNDERFLOW) 83 T(RD,-0x1.ffffffffffffep-1023,-0x1.ffffffffffffep-1023, 0x0p+0, INEXACT|UNDERFLOW) 84 T(RD, -0x1p-1022, -0x1p-1022, 0x0p+0, INEXACT) 85 T(RD, nan, nan, 0x0p+0, 0) 86 T(RD, nan, nan, 0x0p+0, 0) 87 T(RD, inf, nan, 0x0p+0, INVALID) 88 T(RD, -inf, nan, 0x0p+0, INVALID) 89 T(RD, 0x1.8p-27, 0x1.7ffffffffffffp-27, -0x1.b8p-1, INEXACT) 90 T(RD, 0x1p-26, 0x1.fffffffffffffp-27, -0x1.555556p-1, INEXACT) 91 T(RN, 0x1.0000000000001p-1022, 0x1.0000000000001p-1022, 0x0p+0, INEXACT) 92 T(RN, 0x1.0000000000002p-1022, 0x1.0000000000002p-1022, 0x0p+0, INEXACT) 93 T(RN, 0x1.ffffffffffffbp-1022, 0x1.ffffffffffffbp-1022, 0x0p+0, INEXACT) 94 T(RN, 0x1p-1021, 0x1p-1021, 0x0p+0, INEXACT) 95 T(RN, 0x1.0000000000003p-1021, 0x1.0000000000003p-1021, 0x0p+0, INEXACT) 96 T(RN, 0x1p-1020, 0x1p-1020, 0x0p+0, INEXACT) 97 T(RN, 0x1.8p-27, 0x1.8p-27, 0x1.2p-3, INEXACT) 98 T(RN, 0x1p-26, 0x1p-26, 0x1.555556p-3, INEXACT) 99 T(RN,-0x1.0000000000001p-1022,-0x1.0000000000001p-1022, 0x0p+0, INEXACT) 100 T(RN,-0x1.0000000000002p-1022,-0x1.0000000000002p-1022, 0x0p+0, INEXACT) 101 T(RN,-0x1.ffffffffffffbp-1022,-0x1.ffffffffffffbp-1022, 0x0p+0, INEXACT) 102 T(RN, -0x1p-1021, -0x1p-1021, 0x0p+0, INEXACT) 103 T(RN,-0x1.0000000000003p-1021,-0x1.0000000000003p-1021, 0x0p+0, INEXACT) 104 T(RN, -0x1p-1020, -0x1p-1020, 0x0p+0, INEXACT) 105 T(RN, -0x1.8p-27, -0x1.8p-27, -0x1.2p-3, INEXACT) 106 T(RN, -0x1p-26, -0x1p-26, -0x1.555556p-3, INEXACT) 107 T(RN, 0x1p-1073, 0x1p-1073, 0x0p+0, INEXACT|UNDERFLOW) 108 T(RN, 0x1.2p-1071, 0x1.2p-1071, 0x0p+0, INEXACT|UNDERFLOW) 109 T(RN, 0x1p-1024, 0x1p-1024, 0x0p+0, INEXACT|UNDERFLOW) 110 T(RN, 0x1p-1023, 0x1p-1023, 0x0p+0, INEXACT|UNDERFLOW) 111 T(RN, 0x1.ffffffffffffcp-1023, 0x1.ffffffffffffcp-1023, 0x0p+0, INEXACT|UNDERFLOW) 112 T(RN, 0x1.ffffffffffffep-1023, 0x1.ffffffffffffep-1023, 0x0p+0, INEXACT|UNDERFLOW) 113 T(RN, -0x1p-1073, -0x1p-1073, 0x0p+0, INEXACT|UNDERFLOW) 114 T(RN, -0x1.2p-1071, -0x1.2p-1071, 0x0p+0, INEXACT|UNDERFLOW) 115 T(RN, -0x1p-1024, -0x1p-1024, 0x0p+0, INEXACT|UNDERFLOW) 116 T(RN, -0x1p-1023, -0x1p-1023, 0x0p+0, INEXACT|UNDERFLOW) 117 T(RN,-0x1.ffffffffffffcp-1023,-0x1.ffffffffffffcp-1023, 0x0p+0, INEXACT|UNDERFLOW) 118 T(RN,-0x1.ffffffffffffep-1023,-0x1.ffffffffffffep-1023, 0x0p+0, INEXACT|UNDERFLOW) 119 T(RU, 0x1.0000000000001p-1022, 0x1.0000000000001p-1022, 0x0p+0, INEXACT) 120 T(RU, 0x1.0000000000002p-1022, 0x1.0000000000002p-1022, 0x0p+0, INEXACT) 121 T(RU, 0x1.ffffffffffffbp-1022, 0x1.ffffffffffffbp-1022, 0x0p+0, INEXACT) 122 T(RU, 0x1p-1021, 0x1p-1021, 0x0p+0, INEXACT) 123 T(RU, 0x1.0000000000003p-1021, 0x1.0000000000003p-1021, 0x0p+0, INEXACT) 124 T(RU, 0x1p-1020, 0x1p-1020, 0x0p+0, INEXACT) 125 T(RU, 0x1.8p-27, 0x1.8p-27, 0x1.2p-3, INEXACT) 126 T(RU, 0x1p-26, 0x1p-26, 0x1.555556p-3, INEXACT) 127 T(RU,-0x1.0000000000001p-1022, -0x1p-1022, 0x1p+0, INEXACT) 128 T(RU,-0x1.0000000000002p-1022,-0x1.0000000000001p-1022, 0x1p+0, INEXACT) 129 T(RU, -0x1p-1021,-0x1.fffffffffffffp-1022, 0x1p+0, INEXACT) 130 T(RU, -0x1p-1020,-0x1.fffffffffffffp-1021, 0x1p+0, INEXACT) 131 T(RU, 0x1p-1074, 0x1p-1074, 0x0p+0, INEXACT|UNDERFLOW) 132 T(RU, 0x1p-1073, 0x1p-1073, 0x0p+0, INEXACT|UNDERFLOW) 133 T(RU, 0x1.2p-1071, 0x1.2p-1071, 0x0p+0, INEXACT|UNDERFLOW) 134 T(RU, 0x1p-1024, 0x1p-1024, 0x0p+0, INEXACT|UNDERFLOW) 135 T(RU, 0x1p-1023, 0x1p-1023, 0x0p+0, INEXACT|UNDERFLOW) 136 T(RU, 0x1.ffffffffffffcp-1023, 0x1.ffffffffffffcp-1023, 0x0p+0, INEXACT|UNDERFLOW) 137 T(RU, 0x1.ffffffffffffep-1023, 0x1.ffffffffffffep-1023, 0x0p+0, INEXACT|UNDERFLOW) 138 T(RU, 0x1p-1022, 0x1p-1022, 0x0p+0, INEXACT) 139 T(RU, -0x1p-1074, -0x0p+0, 0x1p+0, INEXACT|UNDERFLOW) 140 T(RU, -0x1p-1073, -0x1p-1074, 0x1p+0, INEXACT|UNDERFLOW) 141 T(RU, -0x1p-1024,-0x1.ffffffffffff8p-1025, 0x1p+0, INEXACT|UNDERFLOW) 142 T(RU, -0x1p-1023,-0x1.ffffffffffffcp-1024, 0x1p+0, INEXACT|UNDERFLOW) 143 T(RU,-0x1.ffffffffffffcp-1023,-0x1.ffffffffffffap-1023, 0x1p+0, INEXACT|UNDERFLOW) 144 T(RU,-0x1.ffffffffffffep-1023,-0x1.ffffffffffffcp-1023, 0x1p+0, INEXACT|UNDERFLOW) 145 T(RU, -0x1p-1022,-0x1.ffffffffffffep-1023, 0x1p+0, INEXACT|UNDERFLOW) 146 T(RU, nan, nan, 0x0p+0, 0) 147 T(RU, nan, nan, 0x0p+0, 0) 148 T(RU, inf, nan, 0x0p+0, INVALID) 149 T(RU, -inf, nan, 0x0p+0, INVALID) 150 T(RU, -0x1.8p-27, -0x1.7ffffffffffffp-27, 0x1.b8p-1, INEXACT) 151 T(RU, -0x1p-26, -0x1.fffffffffffffp-27, 0x1.555556p-1, INEXACT) 152 T(RZ, 0x1.0000000000001p-1022, 0x1p-1022, -0x1p+0, INEXACT) 153 T(RZ, 0x1.0000000000002p-1022, 0x1.0000000000001p-1022, -0x1p+0, INEXACT) 154 T(RZ, 0x1p-1021, 0x1.fffffffffffffp-1022, -0x1p+0, INEXACT) 155 T(RZ, 0x1p-1020, 0x1.fffffffffffffp-1021, -0x1p+0, INEXACT) 156 T(RZ,-0x1.0000000000001p-1022, -0x1p-1022, 0x1p+0, INEXACT) 157 T(RZ,-0x1.0000000000002p-1022,-0x1.0000000000001p-1022, 0x1p+0, INEXACT) 158 T(RZ, -0x1p-1021,-0x1.fffffffffffffp-1022, 0x1p+0, INEXACT) 159 T(RZ, -0x1p-1020,-0x1.fffffffffffffp-1021, 0x1p+0, INEXACT) 160 T(RZ, 0x1p-1074, 0x0p+0, -0x1p+0, INEXACT|UNDERFLOW) 161 T(RZ, 0x1p-1073, 0x1p-1074, -0x1p+0, INEXACT|UNDERFLOW) 162 T(RZ, 0x1p-1024, 0x1.ffffffffffff8p-1025, -0x1p+0, INEXACT|UNDERFLOW) 163 T(RZ, 0x1p-1023, 0x1.ffffffffffffcp-1024, -0x1p+0, INEXACT|UNDERFLOW) 164 T(RZ, 0x1.ffffffffffffcp-1023, 0x1.ffffffffffffap-1023, -0x1p+0, INEXACT|UNDERFLOW) 165 T(RZ, 0x1.ffffffffffffep-1023, 0x1.ffffffffffffcp-1023, -0x1p+0, INEXACT|UNDERFLOW) 166 T(RZ, 0x1p-1022, 0x1.ffffffffffffep-1023, -0x1p+0, INEXACT|UNDERFLOW) 167 T(RZ, -0x1p-1074, -0x0p+0, 0x1p+0, INEXACT|UNDERFLOW) 168 T(RZ, -0x1p-1073, -0x1p-1074, 0x1p+0, INEXACT|UNDERFLOW) 169 T(RZ, -0x1p-1024,-0x1.ffffffffffff8p-1025, 0x1p+0, INEXACT|UNDERFLOW) 170 T(RZ, -0x1p-1023,-0x1.ffffffffffffcp-1024, 0x1p+0, INEXACT|UNDERFLOW) 171 T(RZ,-0x1.ffffffffffffcp-1023,-0x1.ffffffffffffap-1023, 0x1p+0, INEXACT|UNDERFLOW) 172 T(RZ,-0x1.ffffffffffffep-1023,-0x1.ffffffffffffcp-1023, 0x1p+0, INEXACT|UNDERFLOW) 173 T(RZ, -0x1p-1022,-0x1.ffffffffffffep-1023, 0x1p+0, INEXACT|UNDERFLOW) 174 T(RZ, nan, nan, 0x0p+0, 0) 175 T(RZ, nan, nan, 0x0p+0, 0) 176 T(RZ, inf, nan, 0x0p+0, INVALID) 177 T(RZ, -inf, nan, 0x0p+0, INVALID) 178 T(RZ, 0x1.8p-27, 0x1.7ffffffffffffp-27, -0x1.b8p-1, INEXACT) 179 T(RZ, 0x1p-26, 0x1.fffffffffffffp-27, -0x1.555556p-1, INEXACT) 180 T(RZ, -0x1.8p-27, -0x1.7ffffffffffffp-27, 0x1.b8p-1, INEXACT) 181 T(RZ, -0x1p-26, -0x1.fffffffffffffp-27, 0x1.555556p-1, INEXACT) 182