ReactOS 0.4.15-dev-8349-g6f277e9
log10_256_lead_tail_table.c
Go to the documentation of this file.
1/*
2 * MIT License
3 * -----------
4 *
5 * Copyright (c) 2002-2019 Advanced Micro Devices, Inc.
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a copy
8 * of this Software and associated documentaon files (the "Software"), to deal
9 * in the Software without restriction, including without limitation the rights
10 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 * copies of the Software, and to permit persons to whom the Software is
12 * furnished to do so, subject to the following conditions:
13 *
14 * The above copyright notice and this permission notice shall be included in
15 * all copies or substantial portions of the Software.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23 * THE SOFTWARE.
24 *
25 **
26 ** Defines __log10_256_lead and __log10_256_tail tables
27 ** Used by log and pow
28 **
29 */
30
31#include <crtdefs.h>
32
33const unsigned long long _CRT_ALIGN(16) __log10_256_lead[] =
34{
35 0x0000000000000000ull,
36 0x3f5bbd9e90000000ull,
37 0x3f6bafd470000000ull,
38 0x3f74b99560000000ull,
39 0x3f7b9476a0000000ull,
40 0x3f81344da0000000ull,
41 0x3f849b0850000000ull,
42 0x3f87fe71c0000000ull,
43 0x3f8b5e9080000000ull,
44 0x3f8ebb6af0000000ull,
45 0x3f910a83a0000000ull,
46 0x3f92b5b5e0000000ull,
47 0x3f945f4f50000000ull,
48 0x3f96075300000000ull,
49 0x3f97adc3d0000000ull,
50 0x3f9952a4f0000000ull,
51 0x3f9af5f920000000ull,
52 0x3f9c97c370000000ull,
53 0x3f9e3806a0000000ull,
54 0x3f9fd6c5b0000000ull,
55 0x3fa0ba01a0000000ull,
56 0x3fa187e120000000ull,
57 0x3fa25502c0000000ull,
58 0x3fa32167c0000000ull,
59 0x3fa3ed1190000000ull,
60 0x3fa4b80180000000ull,
61 0x3fa58238e0000000ull,
62 0x3fa64bb910000000ull,
63 0x3fa7148340000000ull,
64 0x3fa7dc98c0000000ull,
65 0x3fa8a3fad0000000ull,
66 0x3fa96aaac0000000ull,
67 0x3faa30a9d0000000ull,
68 0x3faaf5f920000000ull,
69 0x3fabba9a00000000ull,
70 0x3fac7e8d90000000ull,
71 0x3fad41d510000000ull,
72 0x3fae0471a0000000ull,
73 0x3faec66470000000ull,
74 0x3faf87aeb0000000ull,
75 0x3fb02428c0000000ull,
76 0x3fb08426f0000000ull,
77 0x3fb0e3d290000000ull,
78 0x3fb1432c30000000ull,
79 0x3fb1a23440000000ull,
80 0x3fb200eb60000000ull,
81 0x3fb25f5210000000ull,
82 0x3fb2bd68e0000000ull,
83 0x3fb31b3050000000ull,
84 0x3fb378a8e0000000ull,
85 0x3fb3d5d330000000ull,
86 0x3fb432afa0000000ull,
87 0x3fb48f3ed0000000ull,
88 0x3fb4eb8120000000ull,
89 0x3fb5477730000000ull,
90 0x3fb5a32160000000ull,
91 0x3fb5fe8040000000ull,
92 0x3fb6599440000000ull,
93 0x3fb6b45df0000000ull,
94 0x3fb70eddb0000000ull,
95 0x3fb7691400000000ull,
96 0x3fb7c30160000000ull,
97 0x3fb81ca630000000ull,
98 0x3fb8760300000000ull,
99 0x3fb8cf1830000000ull,
100 0x3fb927e640000000ull,
101 0x3fb9806d90000000ull,
102 0x3fb9d8aea0000000ull,
103 0x3fba30a9d0000000ull,
104 0x3fba885fa0000000ull,
105 0x3fbadfd070000000ull,
106 0x3fbb36fcb0000000ull,
107 0x3fbb8de4d0000000ull,
108 0x3fbbe48930000000ull,
109 0x3fbc3aea40000000ull,
110 0x3fbc910870000000ull,
111 0x3fbce6e410000000ull,
112 0x3fbd3c7da0000000ull,
113 0x3fbd91d580000000ull,
114 0x3fbde6ec00000000ull,
115 0x3fbe3bc1a0000000ull,
116 0x3fbe9056b0000000ull,
117 0x3fbee4aba0000000ull,
118 0x3fbf38c0c0000000ull,
119 0x3fbf8c9680000000ull,
120 0x3fbfe02d30000000ull,
121 0x3fc019c2a0000000ull,
122 0x3fc0434f70000000ull,
123 0x3fc06cbd60000000ull,
124 0x3fc0960c80000000ull,
125 0x3fc0bf3d00000000ull,
126 0x3fc0e84f10000000ull,
127 0x3fc11142f0000000ull,
128 0x3fc13a18a0000000ull,
129 0x3fc162d080000000ull,
130 0x3fc18b6a90000000ull,
131 0x3fc1b3e710000000ull,
132 0x3fc1dc4630000000ull,
133 0x3fc2048810000000ull,
134 0x3fc22cace0000000ull,
135 0x3fc254b4d0000000ull,
136 0x3fc27c9ff0000000ull,
137 0x3fc2a46e80000000ull,
138 0x3fc2cc20b0000000ull,
139 0x3fc2f3b690000000ull,
140 0x3fc31b3050000000ull,
141 0x3fc3428e20000000ull,
142 0x3fc369d020000000ull,
143 0x3fc390f680000000ull,
144 0x3fc3b80160000000ull,
145 0x3fc3def0e0000000ull,
146 0x3fc405c530000000ull,
147 0x3fc42c7e70000000ull,
148 0x3fc4531cd0000000ull,
149 0x3fc479a070000000ull,
150 0x3fc4a00970000000ull,
151 0x3fc4c65800000000ull,
152 0x3fc4ec8c30000000ull,
153 0x3fc512a640000000ull,
154 0x3fc538a630000000ull,
155 0x3fc55e8c50000000ull,
156 0x3fc5845890000000ull,
157 0x3fc5aa0b40000000ull,
158 0x3fc5cfa470000000ull,
159 0x3fc5f52440000000ull,
160 0x3fc61a8ad0000000ull,
161 0x3fc63fd850000000ull,
162 0x3fc6650cd0000000ull,
163 0x3fc68a2880000000ull,
164 0x3fc6af2b80000000ull,
165 0x3fc6d415e0000000ull,
166 0x3fc6f8e7d0000000ull,
167 0x3fc71da170000000ull,
168 0x3fc74242e0000000ull,
169 0x3fc766cc40000000ull,
170 0x3fc78b3da0000000ull,
171 0x3fc7af9730000000ull,
172 0x3fc7d3d910000000ull,
173 0x3fc7f80350000000ull,
174 0x3fc81c1620000000ull,
175 0x3fc8401190000000ull,
176 0x3fc863f5c0000000ull,
177 0x3fc887c2e0000000ull,
178 0x3fc8ab7900000000ull,
179 0x3fc8cf1830000000ull,
180 0x3fc8f2a0a0000000ull,
181 0x3fc9161270000000ull,
182 0x3fc9396db0000000ull,
183 0x3fc95cb280000000ull,
184 0x3fc97fe100000000ull,
185 0x3fc9a2f950000000ull,
186 0x3fc9c5fb70000000ull,
187 0x3fc9e8e7b0000000ull,
188 0x3fca0bbdf0000000ull,
189 0x3fca2e7e80000000ull,
190 0x3fca512960000000ull,
191 0x3fca73bea0000000ull,
192 0x3fca963e70000000ull,
193 0x3fcab8a8f0000000ull,
194 0x3fcadafe20000000ull,
195 0x3fcafd3e30000000ull,
196 0x3fcb1f6930000000ull,
197 0x3fcb417f40000000ull,
198 0x3fcb638070000000ull,
199 0x3fcb856cf0000000ull,
200 0x3fcba744b0000000ull,
201 0x3fcbc907f0000000ull,
202 0x3fcbeab6c0000000ull,
203 0x3fcc0c5130000000ull,
204 0x3fcc2dd750000000ull,
205 0x3fcc4f4950000000ull,
206 0x3fcc70a740000000ull,
207 0x3fcc91f130000000ull,
208 0x3fccb32740000000ull,
209 0x3fccd44980000000ull,
210 0x3fccf55810000000ull,
211 0x3fcd165300000000ull,
212 0x3fcd373a60000000ull,
213 0x3fcd580e60000000ull,
214 0x3fcd78cf00000000ull,
215 0x3fcd997c70000000ull,
216 0x3fcdba16a0000000ull,
217 0x3fcdda9dd0000000ull,
218 0x3fcdfb11f0000000ull,
219 0x3fce1b7330000000ull,
220 0x3fce3bc1a0000000ull,
221 0x3fce5bfd50000000ull,
222 0x3fce7c2660000000ull,
223 0x3fce9c3ce0000000ull,
224 0x3fcebc40e0000000ull,
225 0x3fcedc3280000000ull,
226 0x3fcefc11d0000000ull,
227 0x3fcf1bdee0000000ull,
228 0x3fcf3b99d0000000ull,
229 0x3fcf5b42a0000000ull,
230 0x3fcf7ad980000000ull,
231 0x3fcf9a5e70000000ull,
232 0x3fcfb9d190000000ull,
233 0x3fcfd932f0000000ull,
234 0x3fcff882a0000000ull,
235 0x3fd00be050000000ull,
236 0x3fd01b76a0000000ull,
237 0x3fd02b0430000000ull,
238 0x3fd03a8910000000ull,
239 0x3fd04a0540000000ull,
240 0x3fd05978e0000000ull,
241 0x3fd068e3f0000000ull,
242 0x3fd0784670000000ull,
243 0x3fd087a080000000ull,
244 0x3fd096f210000000ull,
245 0x3fd0a63b30000000ull,
246 0x3fd0b57bf0000000ull,
247 0x3fd0c4b450000000ull,
248 0x3fd0d3e460000000ull,
249 0x3fd0e30c30000000ull,
250 0x3fd0f22bc0000000ull,
251 0x3fd1014310000000ull,
252 0x3fd1105240000000ull,
253 0x3fd11f5940000000ull,
254 0x3fd12e5830000000ull,
255 0x3fd13d4f00000000ull,
256 0x3fd14c3dd0000000ull,
257 0x3fd15b24a0000000ull,
258 0x3fd16a0370000000ull,
259 0x3fd178da50000000ull,
260 0x3fd187a940000000ull,
261 0x3fd1967060000000ull,
262 0x3fd1a52fa0000000ull,
263 0x3fd1b3e710000000ull,
264 0x3fd1c296c0000000ull,
265 0x3fd1d13eb0000000ull,
266 0x3fd1dfdef0000000ull,
267 0x3fd1ee7770000000ull,
268 0x3fd1fd0860000000ull,
269 0x3fd20b91a0000000ull,
270 0x3fd21a1350000000ull,
271 0x3fd2288d70000000ull,
272 0x3fd2370010000000ull,
273 0x3fd2456b30000000ull,
274 0x3fd253ced0000000ull,
275 0x3fd2622b00000000ull,
276 0x3fd2707fd0000000ull,
277 0x3fd27ecd40000000ull,
278 0x3fd28d1360000000ull,
279 0x3fd29b5220000000ull,
280 0x3fd2a989a0000000ull,
281 0x3fd2b7b9e0000000ull,
282 0x3fd2c5e2e0000000ull,
283 0x3fd2d404b0000000ull,
284 0x3fd2e21f50000000ull,
285 0x3fd2f032c0000000ull,
286 0x3fd2fe3f20000000ull,
287 0x3fd30c4470000000ull,
288 0x3fd31a42b0000000ull,
289 0x3fd32839e0000000ull,
290 0x3fd3362a10000000ull,
291 0x3fd3441350000000ull,
292};
293
294const unsigned long long _CRT_ALIGN(16) __log10_256_tail[] =
295{
296 0x0000000000000000ull,
297 0x3db20abc22b2208full,
298 0x3db10f69332e0dd4ull,
299 0x3dce950de87ed257ull,
300 0x3dd3f3443b626d69ull,
301 0x3df45aeaa5363e57ull,
302 0x3dc443683ce1bf0bull,
303 0x3df989cd60c6a511ull,
304 0x3dfd626f201f2e9full,
305 0x3de94f8bb8dabdcdull,
306 0x3e0088d8ef423015ull,
307 0x3e080413a62b79adull,
308 0x3e059717c0eed3c4ull,
309 0x3dad4a77add44902ull,
310 0x3e0e763ff037300eull,
311 0x3de162d74706f6c3ull,
312 0x3e0601cc1f4dbc14ull,
313 0x3deaf3e051f6e5bfull,
314 0x3e097a0b1e1af3ebull,
315 0x3dc0a38970c002c7ull,
316 0x3e102e000057c751ull,
317 0x3e155b00eecd6e0eull,
318 0x3ddf86297003b5afull,
319 0x3e1057b9b336a36dull,
320 0x3e134bc84a06ea4full,
321 0x3e1643da9ea1bcadull,
322 0x3e1d66a7b4f7ea2aull,
323 0x3df6b2e038f7fcefull,
324 0x3df3e954c670f088ull,
325 0x3e047209093acab3ull,
326 0x3e1d708fe7275da7ull,
327 0x3e1fdf9e7771b9e7ull,
328 0x3e0827bfa70a0660ull,
329 0x3e1601cc1f4dbc14ull,
330 0x3e0637f6106a5e5bull,
331 0x3e126a13f17c624bull,
332 0x3e093eb2ce80623aull,
333 0x3e1430d1e91594deull,
334 0x3e1d6b10108fa031ull,
335 0x3e16879c0bbaf241ull,
336 0x3dff08015ea6bc2bull,
337 0x3e29b63dcdc6676cull,
338 0x3e2b022cbcc4ab2cull,
339 0x3df917d07ddd6544ull,
340 0x3e1540605703379eull,
341 0x3e0cd18b947a1b60ull,
342 0x3e17ad65277ca97eull,
343 0x3e11884dc59f5fa9ull,
344 0x3e1711c46006d082ull,
345 0x3e2f092e3c3108f8ull,
346 0x3e1714c5e32be13aull,
347 0x3e26bba7fd734f9aull,
348 0x3dfdf48fb5e08483ull,
349 0x3e232f9bc74d0b95ull,
350 0x3df973e848790c13ull,
351 0x3e1eccbc08c6586eull,
352 0x3e2115e9f9524a98ull,
353 0x3e2f1740593131b8ull,
354 0x3e1bcf8b25643835ull,
355 0x3e1f5fa81d8bed80ull,
356 0x3e244a4df929d9e4ull,
357 0x3e129820d8220c94ull,
358 0x3e2a0b489304e309ull,
359 0x3e1f4d56aba665feull,
360 0x3e210c9019365163ull,
361 0x3df80f78fe592736ull,
362 0x3e10528825c81ccaull,
363 0x3de095537d6d746aull,
364 0x3e1827bfa70a0660ull,
365 0x3e06b0a8ec45933cull,
366 0x3e105af81bf5dba9ull,
367 0x3e17e2fa2655d515ull,
368 0x3e0d59ecbfaee4bfull,
369 0x3e1d8b2fda683fa3ull,
370 0x3e24b8ddfd3a3737ull,
371 0x3e13827e61ae1204ull,
372 0x3e2c8c7b49e90f9full,
373 0x3e29eaf01597591dull,
374 0x3e19aaa66e317b36ull,
375 0x3e2e725609720655ull,
376 0x3e261c33fc7aac54ull,
377 0x3e29662bcf61a252ull,
378 0x3e1843c811c42730ull,
379 0x3e2064bb0b5acb36ull,
380 0x3e0a340c842701a4ull,
381 0x3e1a8e55b58f79d6ull,
382 0x3de92d219c5e9d9aull,
383 0x3e3f63e60d7ffd6aull,
384 0x3e2e9b0ed9516314ull,
385 0x3e2923901962350cull,
386 0x3e326f8838785e81ull,
387 0x3e3b5b6a4caba6afull,
388 0x3df0226adc8e761cull,
389 0x3e3c4ad7313a1aedull,
390 0x3e1564e87c738d17ull,
391 0x3e338fecf18a6618ull,
392 0x3e3d929ef5777666ull,
393 0x3e39483bf08da0b8ull,
394 0x3e3bdd0eeeaa5826ull,
395 0x3e39c4dd590237baull,
396 0x3e1af3e9e0ebcac7ull,
397 0x3e35ce5382270dacull,
398 0x3e394f74532ab9baull,
399 0x3e07342795888654ull,
400 0x3e0c5a000be34bf0ull,
401 0x3e2711c46006d082ull,
402 0x3e250025b4ed8cf8ull,
403 0x3e2ed18bcef2d2a0ull,
404 0x3e21282e0c0a7554ull,
405 0x3e0d70f33359a7caull,
406 0x3e2b7f7e13a84025ull,
407 0x3e33306ec321891eull,
408 0x3e3fc7f8038b7550ull,
409 0x3e3eb0358cd71d64ull,
410 0x3e3a76c822859474ull,
411 0x3e3d0ec652de86e3ull,
412 0x3e2fa4cce08658afull,
413 0x3e3b84a2d2c00a9eull,
414 0x3e20a5b0f2c25bd1ull,
415 0x3e3dd660225bf699ull,
416 0x3e08b10f859bf037ull,
417 0x3e3e8823b590cbe1ull,
418 0x3e361311f31e96f6ull,
419 0x3e2e1f875ca20f9aull,
420 0x3e2c95724939b9a5ull,
421 0x3e3805957a3e58e2ull,
422 0x3e2ff126ea9f0334ull,
423 0x3e3953f5598e5609ull,
424 0x3e36c16ff856c448ull,
425 0x3e24cb220ff261f4ull,
426 0x3e35e120d53d53a2ull,
427 0x3e3a527f6189f256ull,
428 0x3e3856fcffd49c0full,
429 0x3e300c2e8228d7daull,
430 0x3df113d09444dfe0ull,
431 0x3e2510630eea59a6ull,
432 0x3e262e780f32d711ull,
433 0x3ded3ed91a10f8cfull,
434 0x3e23654a7e4bcd85ull,
435 0x3e055b784980ad21ull,
436 0x3e212f2dd4b16e64ull,
437 0x3e37c4add939f50cull,
438 0x3e281784627180fcull,
439 0x3dea5162c7e14961ull,
440 0x3e310c9019365163ull,
441 0x3e373c4d2ba17688ull,
442 0x3e2ae8a5e0e93d81ull,
443 0x3e2ab0c6f01621afull,
444 0x3e301e8b74dd5b66ull,
445 0x3e2d206fecbb5494ull,
446 0x3df0b48b724fcc00ull,
447 0x3e3f831f0b61e229ull,
448 0x3df81a97c407bcafull,
449 0x3e3e286c1ccbb7aaull,
450 0x3e28630b49220a93ull,
451 0x3dff0b15c1a22c5cull,
452 0x3e355445e71c0946ull,
453 0x3e3be630f8066d85ull,
454 0x3e2599dff0d96c39ull,
455 0x3e36cc85b18fb081ull,
456 0x3e34476d001ea8c8ull,
457 0x3e373f889e16d31full,
458 0x3e3357100d792a87ull,
459 0x3e3bd179ae6101f6ull,
460 0x3e0ca31056c3f6e2ull,
461 0x3e3d2870629c08fbull,
462 0x3e3aba3880d2673full,
463 0x3e2c3633cb297da6ull,
464 0x3e21843899efea02ull,
465 0x3e3bccc99d2008e6ull,
466 0x3e38000544bdd350ull,
467 0x3e2b91c226606ae1ull,
468 0x3e2a7adf26b62bdfull,
469 0x3e18764fc8826ec9ull,
470 0x3e1f4f3de50f68f0ull,
471 0x3df760ca757995e3ull,
472 0x3dfc667ed3805147ull,
473 0x3e3733f6196adf6full,
474 0x3e2fb710f33e836bull,
475 0x3e39886eba641013ull,
476 0x3dfb5368d0af8c1aull,
477 0x3e358c691b8d2971ull,
478 0x3dfe9465226d08fbull,
479 0x3e33587e063f0097ull,
480 0x3e3618e702129f18ull,
481 0x3e361c33fc7aac54ull,
482 0x3e3f07a68408604aull,
483 0x3e3c34bfe4945421ull,
484 0x3e38b1f00e41300bull,
485 0x3e3f434284d61b63ull,
486 0x3e3a63095e397436ull,
487 0x3e34428656b919deull,
488 0x3e36ca9201b2d9a6ull,
489 0x3e2738823a2a931cull,
490 0x3e3c11880e179230ull,
491 0x3e313ddc8d6d52feull,
492 0x3e33eed58922e917ull,
493 0x3e295992846bdd50ull,
494 0x3e0ddb4d5f2e278bull,
495 0x3df1a5f12a0635c4ull,
496 0x3e4642f0882c3c34ull,
497 0x3e2aee9ba7f6475eull,
498 0x3e264b7f834a60e4ull,
499 0x3e290d42e243792eull,
500 0x3e4c272008134f01ull,
501 0x3e4a782e16d6cf5bull,
502 0x3e44505c79da6648ull,
503 0x3e4ca9d4ea4dcd21ull,
504 0x3e297d3d627cd5bcull,
505 0x3e20b15cf9bcaa13ull,
506 0x3e315b2063cf76ddull,
507 0x3e2983e6f3aa2748ull,
508 0x3e3f4c64f4ffe994ull,
509 0x3e46beba7ce85a0full,
510 0x3e3b9c69fd4ea6b8ull,
511 0x3e2b6aa5835fa4abull,
512 0x3e43ccc3790fedd1ull,
513 0x3e29c04cc4404fe0ull,
514 0x3e40734b7a75d89dull,
515 0x3e1b4404c4e01612ull,
516 0x3e40c565c2ce4894ull,
517 0x3e33c71441d935cdull,
518 0x3d72a492556b3b4eull,
519 0x3e20fa090341dc43ull,
520 0x3e2e8f7009e3d9f4ull,
521 0x3e4b1bf68b048a45ull,
522 0x3e3eee52dffaa956ull,
523 0x3e456b0900e465bdull,
524 0x3e4d929ef5777666ull,
525 0x3e486ea28637e260ull,
526 0x3e4665aff10ca2f0ull,
527 0x3e2f11fdaf48ec74ull,
528 0x3e4cbe1b86a4d1c7ull,
529 0x3e25b05bfea87665ull,
530 0x3e41cec20a1a4a1dull,
531 0x3e41cd5f0a409b9full,
532 0x3e453656c8265070ull,
533 0x3e377ed835282260ull,
534 0x3e2417bc3040b9d2ull,
535 0x3e408eef7b79eff2ull,
536 0x3e4dc76f39dc57e9ull,
537 0x3e4c0493a70cf457ull,
538 0x3e4a83d6cea5a60cull,
539 0x3e30d6700dc557baull,
540 0x3e44c96c12e8bd0aull,
541 0x3e3d2c1993e32315ull,
542 0x3e22c721135f8242ull,
543 0x3e279a3e4dda747dull,
544 0x3dfcf89f6941a72bull,
545 0x3e2149a702f10831ull,
546 0x3e4ead4b7c8175dbull,
547 0x3e4e6930fe63e70aull,
548 0x3e41e106bed9ee2full,
549 0x3e2d682b82f11c92ull,
550 0x3e3a07f188dba47cull,
551 0x3e40f9342dc172f6ull,
552 0x3e03ef3fde623e25ull,
553};
#define _CRT_ALIGN(x)
Definition: crtdefs.h:154