/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ static data_long_1_t<double> g_lrint_intel_data[] = { { // Entry 0 (long int)0.0, -0x1.0p-1074 }, { // Entry 1 (long int)0.0, -0.0 }, { // Entry 2 (long int)0.0, 0x1.0p-1074 }, { // Entry 3 (long int)0.0, 0x1.fffffffffffffp-2 }, { // Entry 4 (long int)0.0, 0x1.0p-1 }, { // Entry 5 (long int)0x1.p0, 0x1.0000000000001p-1 }, { // Entry 6 (long int)0x1.p0, 0x1.fffffffffffffp-1 }, { // Entry 7 (long int)0x1.p0, 0x1.0p0 }, { // Entry 8 (long int)0x1.p0, 0x1.0000000000001p0 }, { // Entry 9 (long int)0x1.p0, 0x1.7ffffffffffffp0 }, { // Entry 10 (long int)0x1.p1, 0x1.8p0 }, { // Entry 11 (long int)0x1.p1, 0x1.8000000000001p0 }, { // Entry 12 (long int)0x1.p1, 0x1.fffffffffffffp0 }, { // Entry 13 (long int)0x1.p1, 0x1.0p1 }, { // Entry 14 (long int)0x1.p1, 0x1.0000000000001p1 }, { // Entry 15 (long int)0x1.p1, 0x1.3ffffffffffffp1 }, { // Entry 16 (long int)0x1.p1, 0x1.4p1 }, { // Entry 17 (long int)0x1.80p1, 0x1.4000000000001p1 }, { // Entry 18 (long int)0x1.90p6, 0x1.8ffffffffffffp6 }, { // Entry 19 (long int)0x1.90p6, 0x1.9p6 }, { // Entry 20 (long int)0x1.90p6, 0x1.9000000000001p6 }, { // Entry 21 (long int)0x1.90p6, 0x1.91fffffffffffp6 }, { // Entry 22 (long int)0x1.90p6, 0x1.920p6 }, { // Entry 23 (long int)0x1.94p6, 0x1.9200000000001p6 }, { // Entry 24 (long int)0x1.f4p9, 0x1.f3fffffffffffp9 }, { // Entry 25 (long int)0x1.f4p9, 0x1.f40p9 }, { // Entry 26 (long int)0x1.f4p9, 0x1.f400000000001p9 }, { // Entry 27 (long int)0x1.f4p9, 0x1.f43ffffffffffp9 }, { // Entry 28 (long int)0x1.f4p9, 0x1.f44p9 }, { // Entry 29 (long int)0x1.f480p9, 0x1.f440000000001p9 }, { // Entry 30 (long int)-0x1.p0, -0x1.0000000000001p-1 }, { // Entry 31 (long int)0.0, -0x1.0p-1 }, { // Entry 32 (long int)0.0, -0x1.fffffffffffffp-2 }, { // Entry 33 (long int)-0x1.p0, -0x1.0000000000001p0 }, { // Entry 34 (long int)-0x1.p0, -0x1.0p0 }, { // Entry 35 (long int)-0x1.p0, -0x1.fffffffffffffp-1 }, { // Entry 36 (long int)-0x1.p1, -0x1.8000000000001p0 }, { // Entry 37 (long int)-0x1.p1, -0x1.8p0 }, { // Entry 38 (long int)-0x1.p0, -0x1.7ffffffffffffp0 }, { // Entry 39 (long int)-0x1.p1, -0x1.0000000000001p1 }, { // Entry 40 (long int)-0x1.p1, -0x1.0p1 }, { // Entry 41 (long int)-0x1.p1, -0x1.fffffffffffffp0 }, { // Entry 42 (long int)-0x1.80p1, -0x1.4000000000001p1 }, { // Entry 43 (long int)-0x1.p1, -0x1.4p1 }, { // Entry 44 (long int)-0x1.p1, -0x1.3ffffffffffffp1 }, { // Entry 45 (long int)-0x1.90p6, -0x1.9000000000001p6 }, { // Entry 46 (long int)-0x1.90p6, -0x1.9p6 }, { // Entry 47 (long int)-0x1.90p6, -0x1.8ffffffffffffp6 }, { // Entry 48 (long int)-0x1.94p6, -0x1.9200000000001p6 }, { // Entry 49 (long int)-0x1.90p6, -0x1.920p6 }, { // Entry 50 (long int)-0x1.90p6, -0x1.91fffffffffffp6 }, { // Entry 51 (long int)-0x1.f4p9, -0x1.f400000000001p9 }, { // Entry 52 (long int)-0x1.f4p9, -0x1.f40p9 }, { // Entry 53 (long int)-0x1.f4p9, -0x1.f3fffffffffffp9 }, { // Entry 54 (long int)-0x1.f480p9, -0x1.f440000000001p9 }, { // Entry 55 (long int)-0x1.f4p9, -0x1.f44p9 }, { // Entry 56 (long int)-0x1.f4p9, -0x1.f43ffffffffffp9 }, { // Entry 57 (long int)0x1.p30, 0x1.fffffffffffffp29 }, { // Entry 58 (long int)0x1.p30, 0x1.0p30 }, { // Entry 59 (long int)0x1.p30, 0x1.0000000000001p30 }, { // Entry 60 (long int)0x1.fffffff8p30, 0x1.fffffff7ffffep30 }, { // Entry 61 (long int)0x1.fffffff8p30, 0x1.fffffff7fffffp30 }, { // Entry 62 (long int)0x1.fffffff8p30, 0x1.fffffff80p30 }, { // Entry 63 (long int)0x1.fffffff8p30, 0x1.fffffff800001p30 }, { // Entry 64 (long int)0x1.fffffff8p30, 0x1.fffffff800002p30 }, { // Entry 65 (long int)0x1.fffffff8p30, 0x1.fffffff9ffffep30 }, { // Entry 66 (long int)0x1.fffffff8p30, 0x1.fffffff9fffffp30 }, { // Entry 67 (long int)0x1.fffffff8p30, 0x1.fffffffa0p30 }, { // Entry 68 (long int)0x1.fffffffcp30, 0x1.fffffffa00001p30 }, { // Entry 69 (long int)0x1.fffffffcp30, 0x1.fffffffa00002p30 }, { // Entry 70 (long int)0x1.fffffffcp30, 0x1.fffffffbffffep30 }, { // Entry 71 (long int)0x1.fffffffcp30, 0x1.fffffffbfffffp30 }, { // Entry 72 (long int)0x1.fffffffcp30, 0x1.fffffffc0p30 }, { // Entry 73 (long int)0x1.fffffffcp30, 0x1.fffffffc00001p30 }, { // Entry 74 (long int)0x1.fffffffcp30, 0x1.fffffffc00002p30 }, { // Entry 75 (long int)0x1.fffffffcp30, 0x1.fffffffdffffep30 }, { // Entry 76 (long int)0x1.fffffffcp30, 0x1.fffffffdfffffp30 }, { // Entry 77 (long int)0x1.ffffffe0p30, 0x1.ffffffep30 }, { // Entry 78 (long int)0x1.ffffffe4p30, 0x1.ffffffe40p30 }, { // Entry 79 (long int)0x1.ffffffe8p30, 0x1.ffffffe80p30 }, { // Entry 80 (long int)0x1.ffffffecp30, 0x1.ffffffec0p30 }, { // Entry 81 (long int)0x1.fffffff0p30, 0x1.fffffffp30 }, { // Entry 82 (long int)0x1.fffffff4p30, 0x1.fffffff40p30 }, { // Entry 83 (long int)0x1.fffffff8p30, 0x1.fffffff80p30 }, { // Entry 84 (long int)0x1.fffffffcp30, 0x1.fffffffc0p30 }, { // Entry 85 (long int)-0x1.p30, -0x1.0000000000001p30 }, { // Entry 86 (long int)-0x1.p30, -0x1.0p30 }, { // Entry 87 (long int)-0x1.p30, -0x1.fffffffffffffp29 }, { // Entry 88 (long int)-0x1.fffffff8p30, -0x1.fffffff800002p30 }, { // Entry 89 (long int)-0x1.fffffff8p30, -0x1.fffffff800001p30 }, { // Entry 90 (long int)-0x1.fffffff8p30, -0x1.fffffff80p30 }, { // Entry 91 (long int)-0x1.fffffff8p30, -0x1.fffffff7fffffp30 }, { // Entry 92 (long int)-0x1.fffffff8p30, -0x1.fffffff7ffffep30 }, { // Entry 93 (long int)-0x1.fffffffcp30, -0x1.fffffffa00002p30 }, { // Entry 94 (long int)-0x1.fffffffcp30, -0x1.fffffffa00001p30 }, { // Entry 95 (long int)-0x1.fffffff8p30, -0x1.fffffffa0p30 }, { // Entry 96 (long int)-0x1.fffffff8p30, -0x1.fffffff9fffffp30 }, { // Entry 97 (long int)-0x1.fffffff8p30, -0x1.fffffff9ffffep30 }, { // Entry 98 (long int)-0x1.fffffffcp30, -0x1.fffffffc00002p30 }, { // Entry 99 (long int)-0x1.fffffffcp30, -0x1.fffffffc00001p30 }, { // Entry 100 (long int)-0x1.fffffffcp30, -0x1.fffffffc0p30 }, { // Entry 101 (long int)-0x1.fffffffcp30, -0x1.fffffffbfffffp30 }, { // Entry 102 (long int)-0x1.fffffffcp30, -0x1.fffffffbffffep30 }, { // Entry 103 (long int)-0x1.p31, -0x1.fffffffe00002p30 }, { // Entry 104 (long int)-0x1.p31, -0x1.fffffffe00001p30 }, { // Entry 105 (long int)-0x1.p31, -0x1.fffffffe0p30 }, { // Entry 106 (long int)-0x1.fffffffcp30, -0x1.fffffffdfffffp30 }, { // Entry 107 (long int)-0x1.fffffffcp30, -0x1.fffffffdffffep30 }, { // Entry 108 (long int)-0x1.p31, -0x1.0000000000002p31 }, { // Entry 109 (long int)-0x1.p31, -0x1.0000000000001p31 }, { // Entry 110 (long int)-0x1.p31, -0x1.0p31 }, { // Entry 111 (long int)-0x1.p31, -0x1.fffffffffffffp30 }, { // Entry 112 (long int)-0x1.p31, -0x1.ffffffffffffep30 }, { // Entry 113 (long int)-0x1.p31, -0x1.000000010p31 }, { // Entry 114 (long int)-0x1.p31, -0x1.00000000fffffp31 }, { // Entry 115 (long int)-0x1.p31, -0x1.00000000ffffep31 }, { // Entry 116 (long int)-0x1.ffffffe0p30, -0x1.ffffffep30 }, { // Entry 117 (long int)-0x1.ffffffe0p30, -0x1.ffffffep30 }, { // Entry 118 (long int)-0x1.ffffffe0p30, -0x1.ffffffep30 }, { // Entry 119 (long int)-0x1.ffffffe0p30, -0x1.ffffffep30 }, { // Entry 120 (long int)-0x1.ffffffe0p30, -0x1.ffffffep30 }, { // Entry 121 (long int)-0x1.ffffffe0p30, -0x1.ffffffep30 }, { // Entry 122 (long int)-0x1.ffffffe0p30, -0x1.ffffffep30 }, { // Entry 123 (long int)-0x1.ffffffe0p30, -0x1.ffffffep30 }, { // Entry 124 (long int)-0x1.ffffffe0p30, -0x1.ffffffep30 }, { // Entry 125 (long int)-0x1.ffffffe0p30, -0x1.ffffffep30 }, { // Entry 126 (long int)0x1.fffffffcp30, 0x1.fffffffbfffffp30 }, { // Entry 127 (long int)0x1.fffffffcp30, 0x1.fffffffc0p30 }, { // Entry 128 (long int)0x1.fffffffcp30, 0x1.fffffffc00001p30 }, { // Entry 129 (long int)-0x1.p31, -0x1.0000000000001p31 }, { // Entry 130 (long int)-0x1.p31, -0x1.0p31 }, { // Entry 131 (long int)-0x1.p31, -0x1.fffffffffffffp30 }, { // Entry 132 (long int)0x1.p2, 0x1.fffffffffffffp1 }, { // Entry 133 (long int)0x1.p2, 0x1.0p2 }, { // Entry 134 (long int)0x1.p2, 0x1.0000000000001p2 }, { // Entry 135 (long int)0x1.p3, 0x1.fffffffffffffp2 }, { // Entry 136 (long int)0x1.p3, 0x1.0p3 }, { // Entry 137 (long int)0x1.p3, 0x1.0000000000001p3 }, { // Entry 138 (long int)0x1.p4, 0x1.fffffffffffffp3 }, { // Entry 139 (long int)0x1.p4, 0x1.0p4 }, { // Entry 140 (long int)0x1.p4, 0x1.0000000000001p4 }, { // Entry 141 (long int)0x1.p5, 0x1.fffffffffffffp4 }, { // Entry 142 (long int)0x1.p5, 0x1.0p5 }, { // Entry 143 (long int)0x1.p5, 0x1.0000000000001p5 }, { // Entry 144 (long int)0x1.p6, 0x1.fffffffffffffp5 }, { // Entry 145 (long int)0x1.p6, 0x1.0p6 }, { // Entry 146 (long int)0x1.p6, 0x1.0000000000001p6 }, { // Entry 147 (long int)0x1.p7, 0x1.fffffffffffffp6 }, { // Entry 148 (long int)0x1.p7, 0x1.0p7 }, { // Entry 149 (long int)0x1.p7, 0x1.0000000000001p7 }, { // Entry 150 (long int)0x1.p8, 0x1.fffffffffffffp7 }, { // Entry 151 (long int)0x1.p8, 0x1.0p8 }, { // Entry 152 (long int)0x1.p8, 0x1.0000000000001p8 }, { // Entry 153 (long int)0x1.p9, 0x1.fffffffffffffp8 }, { // Entry 154 (long int)0x1.p9, 0x1.0p9 }, { // Entry 155 (long int)0x1.p9, 0x1.0000000000001p9 }, { // Entry 156 (long int)0x1.p10, 0x1.fffffffffffffp9 }, { // Entry 157 (long int)0x1.p10, 0x1.0p10 }, { // Entry 158 (long int)0x1.p10, 0x1.0000000000001p10 }, { // Entry 159 (long int)0x1.p11, 0x1.fffffffffffffp10 }, { // Entry 160 (long int)0x1.p11, 0x1.0p11 }, { // Entry 161 (long int)0x1.p11, 0x1.0000000000001p11 }, { // Entry 162 (long int)0x1.p12, 0x1.fffffffffffffp11 }, { // Entry 163 (long int)0x1.p12, 0x1.0p12 }, { // Entry 164 (long int)0x1.p12, 0x1.0000000000001p12 }, { // Entry 165 (long int)0x1.p2, 0x1.1ffffffffffffp2 }, { // Entry 166 (long int)0x1.p2, 0x1.2p2 }, { // Entry 167 (long int)0x1.40p2, 0x1.2000000000001p2 }, { // Entry 168 (long int)0x1.p3, 0x1.0ffffffffffffp3 }, { // Entry 169 (long int)0x1.p3, 0x1.1p3 }, { // Entry 170 (long int)0x1.20p3, 0x1.1000000000001p3 }, { // Entry 171 (long int)0x1.p4, 0x1.07fffffffffffp4 }, { // Entry 172 (long int)0x1.p4, 0x1.080p4 }, { // Entry 173 (long int)0x1.10p4, 0x1.0800000000001p4 }, { // Entry 174 (long int)0x1.p5, 0x1.03fffffffffffp5 }, { // Entry 175 (long int)0x1.p5, 0x1.040p5 }, { // Entry 176 (long int)0x1.08p5, 0x1.0400000000001p5 }, { // Entry 177 (long int)0x1.p6, 0x1.01fffffffffffp6 }, { // Entry 178 (long int)0x1.p6, 0x1.020p6 }, { // Entry 179 (long int)0x1.04p6, 0x1.0200000000001p6 }, { // Entry 180 (long int)0x1.p7, 0x1.00fffffffffffp7 }, { // Entry 181 (long int)0x1.p7, 0x1.010p7 }, { // Entry 182 (long int)0x1.02p7, 0x1.0100000000001p7 }, { // Entry 183 (long int)0x1.p8, 0x1.007ffffffffffp8 }, { // Entry 184 (long int)0x1.p8, 0x1.008p8 }, { // Entry 185 (long int)0x1.01p8, 0x1.0080000000001p8 }, { // Entry 186 (long int)0x1.p9, 0x1.003ffffffffffp9 }, { // Entry 187 (long int)0x1.p9, 0x1.004p9 }, { // Entry 188 (long int)0x1.0080p9, 0x1.0040000000001p9 }, { // Entry 189 (long int)0x1.p10, 0x1.001ffffffffffp10 }, { // Entry 190 (long int)0x1.p10, 0x1.002p10 }, { // Entry 191 (long int)0x1.0040p10, 0x1.0020000000001p10 }, { // Entry 192 (long int)0x1.0040p10, 0x1.005ffffffffffp10 }, { // Entry 193 (long int)0x1.0080p10, 0x1.006p10 }, { // Entry 194 (long int)0x1.0080p10, 0x1.0060000000001p10 }, { // Entry 195 (long int)0x1.p11, 0x1.000ffffffffffp11 }, { // Entry 196 (long int)0x1.p11, 0x1.001p11 }, { // Entry 197 (long int)0x1.0020p11, 0x1.0010000000001p11 }, { // Entry 198 (long int)0x1.p12, 0x1.0007fffffffffp12 }, { // Entry 199 (long int)0x1.p12, 0x1.00080p12 }, { // Entry 200 (long int)0x1.0010p12, 0x1.0008000000001p12 }, { // Entry 201 (long int)0x1.80p1, 0x1.921fb54442d18p1 }, { // Entry 202 (long int)-0x1.80p1, -0x1.921fb54442d18p1 }, { // Entry 203 (long int)0x1.p1, 0x1.921fb54442d18p0 }, { // Entry 204 (long int)-0x1.p1, -0x1.921fb54442d18p0 }, { // Entry 205 (long int)0x1.p0, 0x1.0000000000001p0 }, { // Entry 206 (long int)-0x1.p0, -0x1.0000000000001p0 }, { // Entry 207 (long int)0x1.p0, 0x1.0p0 }, { // Entry 208 (long int)-0x1.p0, -0x1.0p0 }, { // Entry 209 (long int)0x1.p0, 0x1.fffffffffffffp-1 }, { // Entry 210 (long int)-0x1.p0, -0x1.fffffffffffffp-1 }, { // Entry 211 (long int)0x1.p0, 0x1.921fb54442d18p-1 }, { // Entry 212 (long int)-0x1.p0, -0x1.921fb54442d18p-1 }, { // Entry 213 (long int)0.0, 0x1.0000000000001p-1022 }, { // Entry 214 (long int)0.0, -0x1.0000000000001p-1022 }, { // Entry 215 (long int)0.0, 0x1.0p-1022 }, { // Entry 216 (long int)0.0, -0x1.0p-1022 }, { // Entry 217 (long int)0.0, 0x1.ffffffffffffep-1023 }, { // Entry 218 (long int)0.0, -0x1.ffffffffffffep-1023 }, { // Entry 219 (long int)0.0, 0x1.ffffffffffffcp-1023 }, { // Entry 220 (long int)0.0, -0x1.ffffffffffffcp-1023 }, { // Entry 221 (long int)0.0, 0x1.0p-1073 }, { // Entry 222 (long int)0.0, -0x1.0p-1073 }, { // Entry 223 (long int)0.0, 0x1.0p-1074 }, { // Entry 224 (long int)0.0, -0x1.0p-1074 }, { // Entry 225 (long int)0.0, 0.0 }, { // Entry 226 (long int)0.0, -0.0 }, { // Entry 227 (long int)0x1.p1, 0x1.8p0 }, { // Entry 228 (long int)-0x1.p1, -0x1.8p0 }, { // Entry 229 (long int)0x1.p1, 0x1.4p1 }, { // Entry 230 (long int)-0x1.p1, -0x1.4p1 }, { // Entry 231 (long int)0.0, 0x1.fffffp-2 }, { // Entry 232 (long int)0.0, 0x1.0p-1 }, { // Entry 233 (long int)0x1.p0, 0x1.00001p-1 }, { // Entry 234 (long int)0.0, -0x1.fffffp-2 }, { // Entry 235 (long int)0.0, -0x1.0p-1 }, { // Entry 236 (long int)-0x1.p0, -0x1.00001p-1 }, { // Entry 237 (long int)0x1.p1, 0x1.80001p0 }, { // Entry 238 (long int)0x1.p0, 0x1.7ffffp0 }, { // Entry 239 (long int)-0x1.p1, -0x1.80001p0 }, { // Entry 240 (long int)-0x1.p0, -0x1.7ffffp0 } };