ReactOS 0.4.16-dev-199-g898cc56
log_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 __log_256_lead and __log_256_tail tables
27 ** Used by log and pow
28 **
29 */
30
31#include <crtdefs.h>
32
33const unsigned long long _CRT_ALIGN(16) __log_256_lead[] =
34{
35 0x0000000000000000ull,
36 0x3f6ff00aa0000000ull,
37 0x3f7fe02a60000000ull,
38 0x3f87dc4750000000ull,
39 0x3f8fc0a8b0000000ull,
40 0x3f93cea440000000ull,
41 0x3f97b91b00000000ull,
42 0x3f9b9fc020000000ull,
43 0x3f9f829b00000000ull,
44 0x3fa1b0d980000000ull,
45 0x3fa39e87b0000000ull,
46 0x3fa58a5ba0000000ull,
47 0x3fa77458f0000000ull,
48 0x3fa95c8300000000ull,
49 0x3fab42dd70000000ull,
50 0x3fad276b80000000ull,
51 0x3faf0a30c0000000ull,
52 0x3fb0759830000000ull,
53 0x3fb16536e0000000ull,
54 0x3fb253f620000000ull,
55 0x3fb341d790000000ull,
56 0x3fb42edcb0000000ull,
57 0x3fb51b0730000000ull,
58 0x3fb60658a0000000ull,
59 0x3fb6f0d280000000ull,
60 0x3fb7da7660000000ull,
61 0x3fb8c345d0000000ull,
62 0x3fb9ab4240000000ull,
63 0x3fba926d30000000ull,
64 0x3fbb78c820000000ull,
65 0x3fbc5e5480000000ull,
66 0x3fbd4313d0000000ull,
67 0x3fbe270760000000ull,
68 0x3fbf0a30c0000000ull,
69 0x3fbfec9130000000ull,
70 0x3fc0671510000000ull,
71 0x3fc0d77e70000000ull,
72 0x3fc1478580000000ull,
73 0x3fc1b72ad0000000ull,
74 0x3fc2266f10000000ull,
75 0x3fc29552f0000000ull,
76 0x3fc303d710000000ull,
77 0x3fc371fc20000000ull,
78 0x3fc3dfc2b0000000ull,
79 0x3fc44d2b60000000ull,
80 0x3fc4ba36f0000000ull,
81 0x3fc526e5e0000000ull,
82 0x3fc59338d0000000ull,
83 0x3fc5ff3070000000ull,
84 0x3fc66acd40000000ull,
85 0x3fc6d60fe0000000ull,
86 0x3fc740f8f0000000ull,
87 0x3fc7ab8900000000ull,
88 0x3fc815c0a0000000ull,
89 0x3fc87fa060000000ull,
90 0x3fc8e928d0000000ull,
91 0x3fc9525a90000000ull,
92 0x3fc9bb3620000000ull,
93 0x3fca23bc10000000ull,
94 0x3fca8becf0000000ull,
95 0x3fcaf3c940000000ull,
96 0x3fcb5b5190000000ull,
97 0x3fcbc28670000000ull,
98 0x3fcc296850000000ull,
99 0x3fcc8ff7c0000000ull,
100 0x3fccf63540000000ull,
101 0x3fcd5c2160000000ull,
102 0x3fcdc1bca0000000ull,
103 0x3fce270760000000ull,
104 0x3fce8c0250000000ull,
105 0x3fcef0adc0000000ull,
106 0x3fcf550a50000000ull,
107 0x3fcfb91860000000ull,
108 0x3fd00e6c40000000ull,
109 0x3fd0402590000000ull,
110 0x3fd071b850000000ull,
111 0x3fd0a324e0000000ull,
112 0x3fd0d46b50000000ull,
113 0x3fd1058bf0000000ull,
114 0x3fd1368700000000ull,
115 0x3fd1675ca0000000ull,
116 0x3fd1980d20000000ull,
117 0x3fd1c898c0000000ull,
118 0x3fd1f8ff90000000ull,
119 0x3fd22941f0000000ull,
120 0x3fd2596010000000ull,
121 0x3fd2895a10000000ull,
122 0x3fd2b93030000000ull,
123 0x3fd2e8e2b0000000ull,
124 0x3fd31871c0000000ull,
125 0x3fd347dd90000000ull,
126 0x3fd3772660000000ull,
127 0x3fd3a64c50000000ull,
128 0x3fd3d54fa0000000ull,
129 0x3fd4043080000000ull,
130 0x3fd432ef20000000ull,
131 0x3fd4618bc0000000ull,
132 0x3fd4900680000000ull,
133 0x3fd4be5f90000000ull,
134 0x3fd4ec9730000000ull,
135 0x3fd51aad80000000ull,
136 0x3fd548a2c0000000ull,
137 0x3fd5767710000000ull,
138 0x3fd5a42ab0000000ull,
139 0x3fd5d1bdb0000000ull,
140 0x3fd5ff3070000000ull,
141 0x3fd62c82f0000000ull,
142 0x3fd659b570000000ull,
143 0x3fd686c810000000ull,
144 0x3fd6b3bb20000000ull,
145 0x3fd6e08ea0000000ull,
146 0x3fd70d42e0000000ull,
147 0x3fd739d7f0000000ull,
148 0x3fd7664e10000000ull,
149 0x3fd792a550000000ull,
150 0x3fd7bede00000000ull,
151 0x3fd7eaf830000000ull,
152 0x3fd816f410000000ull,
153 0x3fd842d1d0000000ull,
154 0x3fd86e9190000000ull,
155 0x3fd89a3380000000ull,
156 0x3fd8c5b7c0000000ull,
157 0x3fd8f11e80000000ull,
158 0x3fd91c67e0000000ull,
159 0x3fd9479410000000ull,
160 0x3fd972a340000000ull,
161 0x3fd99d9580000000ull,
162 0x3fd9c86b00000000ull,
163 0x3fd9f323e0000000ull,
164 0x3fda1dc060000000ull,
165 0x3fda484090000000ull,
166 0x3fda72a490000000ull,
167 0x3fda9cec90000000ull,
168 0x3fdac718c0000000ull,
169 0x3fdaf12930000000ull,
170 0x3fdb1b1e00000000ull,
171 0x3fdb44f770000000ull,
172 0x3fdb6eb590000000ull,
173 0x3fdb985890000000ull,
174 0x3fdbc1e080000000ull,
175 0x3fdbeb4d90000000ull,
176 0x3fdc149ff0000000ull,
177 0x3fdc3dd7a0000000ull,
178 0x3fdc66f4e0000000ull,
179 0x3fdc8ff7c0000000ull,
180 0x3fdcb8e070000000ull,
181 0x3fdce1af00000000ull,
182 0x3fdd0a63a0000000ull,
183 0x3fdd32fe70000000ull,
184 0x3fdd5b7f90000000ull,
185 0x3fdd83e720000000ull,
186 0x3fddac3530000000ull,
187 0x3fddd46a00000000ull,
188 0x3fddfc8590000000ull,
189 0x3fde248810000000ull,
190 0x3fde4c71a0000000ull,
191 0x3fde744260000000ull,
192 0x3fde9bfa60000000ull,
193 0x3fdec399d0000000ull,
194 0x3fdeeb20c0000000ull,
195 0x3fdf128f50000000ull,
196 0x3fdf39e5b0000000ull,
197 0x3fdf6123f0000000ull,
198 0x3fdf884a30000000ull,
199 0x3fdfaf5880000000ull,
200 0x3fdfd64f20000000ull,
201 0x3fdffd2e00000000ull,
202 0x3fe011fab0000000ull,
203 0x3fe02552a0000000ull,
204 0x3fe0389ee0000000ull,
205 0x3fe04bdf90000000ull,
206 0x3fe05f14b0000000ull,
207 0x3fe0723e50000000ull,
208 0x3fe0855c80000000ull,
209 0x3fe0986f40000000ull,
210 0x3fe0ab76b0000000ull,
211 0x3fe0be72e0000000ull,
212 0x3fe0d163c0000000ull,
213 0x3fe0e44980000000ull,
214 0x3fe0f72410000000ull,
215 0x3fe109f390000000ull,
216 0x3fe11cb810000000ull,
217 0x3fe12f7190000000ull,
218 0x3fe1422020000000ull,
219 0x3fe154c3d0000000ull,
220 0x3fe1675ca0000000ull,
221 0x3fe179eab0000000ull,
222 0x3fe18c6e00000000ull,
223 0x3fe19ee6b0000000ull,
224 0x3fe1b154b0000000ull,
225 0x3fe1c3b810000000ull,
226 0x3fe1d610f0000000ull,
227 0x3fe1e85f50000000ull,
228 0x3fe1faa340000000ull,
229 0x3fe20cdcd0000000ull,
230 0x3fe21f0bf0000000ull,
231 0x3fe23130d0000000ull,
232 0x3fe2434b60000000ull,
233 0x3fe2555bc0000000ull,
234 0x3fe2676200000000ull,
235 0x3fe2795e10000000ull,
236 0x3fe28b5000000000ull,
237 0x3fe29d37f0000000ull,
238 0x3fe2af15f0000000ull,
239 0x3fe2c0e9e0000000ull,
240 0x3fe2d2b400000000ull,
241 0x3fe2e47430000000ull,
242 0x3fe2f62a90000000ull,
243 0x3fe307d730000000ull,
244 0x3fe3197a00000000ull,
245 0x3fe32b1330000000ull,
246 0x3fe33ca2b0000000ull,
247 0x3fe34e2890000000ull,
248 0x3fe35fa4e0000000ull,
249 0x3fe37117b0000000ull,
250 0x3fe38280f0000000ull,
251 0x3fe393e0d0000000ull,
252 0x3fe3a53730000000ull,
253 0x3fe3b68440000000ull,
254 0x3fe3c7c7f0000000ull,
255 0x3fe3d90260000000ull,
256 0x3fe3ea3390000000ull,
257 0x3fe3fb5b80000000ull,
258 0x3fe40c7a40000000ull,
259 0x3fe41d8fe0000000ull,
260 0x3fe42e9c60000000ull,
261 0x3fe43f9fe0000000ull,
262 0x3fe4509a50000000ull,
263 0x3fe4618bc0000000ull,
264 0x3fe4727430000000ull,
265 0x3fe48353d0000000ull,
266 0x3fe4942a80000000ull,
267 0x3fe4a4f850000000ull,
268 0x3fe4b5bd60000000ull,
269 0x3fe4c679a0000000ull,
270 0x3fe4d72d30000000ull,
271 0x3fe4e7d810000000ull,
272 0x3fe4f87a30000000ull,
273 0x3fe50913c0000000ull,
274 0x3fe519a4c0000000ull,
275 0x3fe52a2d20000000ull,
276 0x3fe53aad00000000ull,
277 0x3fe54b2460000000ull,
278 0x3fe55b9350000000ull,
279 0x3fe56bf9d0000000ull,
280 0x3fe57c57f0000000ull,
281 0x3fe58cadb0000000ull,
282 0x3fe59cfb20000000ull,
283 0x3fe5ad4040000000ull,
284 0x3fe5bd7d30000000ull,
285 0x3fe5cdb1d0000000ull,
286 0x3fe5ddde50000000ull,
287 0x3fe5ee02a0000000ull,
288 0x3fe5fe1ed0000000ull,
289 0x3fe60e32f0000000ull,
290 0x3fe61e3ef0000000ull,
291 0x3fe62e42e0000000ull,
292 0x0000000000000000ull
293};
294
295const unsigned long long _CRT_ALIGN(16) __log_256_tail[] =
296{
297 0x0000000000000000ull,
298 0x3db5885e0250435aull,
299 0x3de620cf11f86ed2ull,
300 0x3dff0214edba4a25ull,
301 0x3dbf807c79f3db4eull,
302 0x3dea352ba779a52bull,
303 0x3dff56c46aa49fd5ull,
304 0x3dfebe465fef5196ull,
305 0x3e0cf0660099f1f8ull,
306 0x3e1247b2ff85945dull,
307 0x3e13fd7abf5202b6ull,
308 0x3e1f91c9a918d51eull,
309 0x3e08cb73f118d3caull,
310 0x3e1d91c7d6fad074ull,
311 0x3de1971bec28d14cull,
312 0x3e15b616a423c78aull,
313 0x3da162a6617cc971ull,
314 0x3e166391c4c06d29ull,
315 0x3e2d46f5c1d0c4b8ull,
316 0x3e2e14282df1f6d3ull,
317 0x3e186f47424a660dull,
318 0x3e2d4c8de077753eull,
319 0x3e2e0c307ed24f1cull,
320 0x3e226ea18763bdd3ull,
321 0x3e25cad69737c933ull,
322 0x3e2af62599088901ull,
323 0x3e18c66c83d6b2d0ull,
324 0x3e1880ceb36fb30full,
325 0x3e2495aac6ca17a4ull,
326 0x3e2761db4210878cull,
327 0x3e2eb78e862bac2full,
328 0x3e19b2cd75790dd9ull,
329 0x3e2c55e5cbd3d50full,
330 0x3db162a6617cc971ull,
331 0x3dfdbeabaaa2e519ull,
332 0x3e1652cb7150c647ull,
333 0x3e39a11cb2cd2ee2ull,
334 0x3e219d0ab1a28813ull,
335 0x3e24bd9e80a41811ull,
336 0x3e3214b596faa3dfull,
337 0x3e303fea46980bb8ull,
338 0x3e31c8ffa5fd28c7ull,
339 0x3dce8f743bcd96c5ull,
340 0x3dfd98c5395315c6ull,
341 0x3e3996fa3ccfa7b2ull,
342 0x3e1cd2af2ad13037ull,
343 0x3e1d0da1bd17200eull,
344 0x3e3330410ba68b75ull,
345 0x3df4f27a790e7c41ull,
346 0x3e13956a86f6ff1bull,
347 0x3e2c6748723551d9ull,
348 0x3e2500de9326cdfcull,
349 0x3e1086c848df1b59ull,
350 0x3e04357ead6836ffull,
351 0x3e24832442408024ull,
352 0x3e3d10da8154b13dull,
353 0x3e39e8ad68ec8260ull,
354 0x3e3cfbf706abaf18ull,
355 0x3e3fc56ac6326e23ull,
356 0x3e39105e3185cf21ull,
357 0x3e3d017fe5b19cc0ull,
358 0x3e3d1f6b48dd13feull,
359 0x3e20b63358a7e73aull,
360 0x3e263063028c211cull,
361 0x3e2e6a6886b09760ull,
362 0x3e3c138bb891cd03ull,
363 0x3e369f7722b7221aull,
364 0x3df57d8fac1a628cull,
365 0x3e3c55e5cbd3d50full,
366 0x3e1552d2ff48fe2eull,
367 0x3e37b8b26ca431bcull,
368 0x3e292decdc1c5f6dull,
369 0x3e3abc7c551aaa8cull,
370 0x3e36b540731a354bull,
371 0x3e32d341036b89efull,
372 0x3e4f9ab21a3a2e0full,
373 0x3e239c871afb9fbdull,
374 0x3e3e6add2c81f640ull,
375 0x3e435c95aa313f41ull,
376 0x3e249d4582f6cc53ull,
377 0x3e47574c1c07398full,
378 0x3e4ba846dece9e8dull,
379 0x3e16999fafbc68e7ull,
380 0x3e4c9145e51b0103ull,
381 0x3e479ef2cb44850aull,
382 0x3e0beec73de11275ull,
383 0x3e2ef4351af5a498ull,
384 0x3e45713a493b4a50ull,
385 0x3e45c23a61385992ull,
386 0x3e42a88309f57299ull,
387 0x3e4530faa9ac8aceull,
388 0x3e25fec2d792a758ull,
389 0x3e35a517a71cbcd7ull,
390 0x3e3707dc3e1cd9a3ull,
391 0x3e3a1a9f8ef43049ull,
392 0x3e4409d0276b3674ull,
393 0x3e20e2f613e85bd9ull,
394 0x3df0027433001e5full,
395 0x3e35dde2836d3265ull,
396 0x3e2300134d7aaf04ull,
397 0x3e3cb7e0b42724f5ull,
398 0x3e2d6e93167e6308ull,
399 0x3e3d1569b1526adbull,
400 0x3e0e99fc338a1a41ull,
401 0x3e4eb01394a11b1cull,
402 0x3e04f27a790e7c41ull,
403 0x3e25ce3ca97b7af9ull,
404 0x3e281f0f940ed857ull,
405 0x3e4d36295d88857cull,
406 0x3e21aca1ec4af526ull,
407 0x3e445743c7182726ull,
408 0x3e23c491aead337eull,
409 0x3e3aef401a738931ull,
410 0x3e21cede76092a29ull,
411 0x3e4fba8f44f82bb4ull,
412 0x3e446f5f7f3c3e1aull,
413 0x3e47055f86c9674bull,
414 0x3e4b41a92b6b6e1aull,
415 0x3e443d162e927628ull,
416 0x3e4466174013f9b1ull,
417 0x3e3b05096ad69c62ull,
418 0x3e40b169150faa58ull,
419 0x3e3cd98b1df85da7ull,
420 0x3e468b507b0f8fa8ull,
421 0x3e48422df57499baull,
422 0x3e11351586970274ull,
423 0x3e117e08acba92eeull,
424 0x3e26e04314dd0229ull,
425 0x3e497f3097e56d1aull,
426 0x3e3356e655901286ull,
427 0x3e0cb761457f94d6ull,
428 0x3e39af67a85a9dacull,
429 0x3e453410931a909full,
430 0x3e22c587206058f5ull,
431 0x3e223bc358899c22ull,
432 0x3e4d7bf8b6d223cbull,
433 0x3e47991ec5197ddbull,
434 0x3e4a79e6bb3a9219ull,
435 0x3e3a4c43ed663ec5ull,
436 0x3e461b5a1484f438ull,
437 0x3e4b4e36f7ef0c3aull,
438 0x3e115f026acd0d1bull,
439 0x3e3f36b535cecf05ull,
440 0x3e2ffb7fbf3eb5c6ull,
441 0x3e3e6a6886b09760ull,
442 0x3e3135eb27f5bbc3ull,
443 0x3e470be7d6f6fa57ull,
444 0x3e4ce43cc84ab338ull,
445 0x3e4c01d7aac3bd91ull,
446 0x3e45c58d07961060ull,
447 0x3e3628bcf941456eull,
448 0x3e4c58b2a8461cd2ull,
449 0x3e33071282fb989aull,
450 0x3e420dab6a80f09cull,
451 0x3e44f8d84c397b1eull,
452 0x3e40d0ee08599e48ull,
453 0x3e1d68787e37da36ull,
454 0x3e366187d591bafcull,
455 0x3e22346600bae772ull,
456 0x3e390377d0d61b8eull,
457 0x3e4f5e0dd966b907ull,
458 0x3e49023cb79a00e2ull,
459 0x3e44e05158c28ad8ull,
460 0x3e3bfa7b08b18ae4ull,
461 0x3e4ef1e63db35f67ull,
462 0x3e0ec2ae39493d4full,
463 0x3e40afe930ab2fa0ull,
464 0x3e225ff8a1810dd4ull,
465 0x3e469743fb1a71a5ull,
466 0x3e5f9cc676785571ull,
467 0x3e5b524da4cbf982ull,
468 0x3e5a4c8b381535b8ull,
469 0x3e5839be809caf2cull,
470 0x3e50968a1cb82c13ull,
471 0x3e5eae6a41723fb5ull,
472 0x3e5d9c29a380a4dbull,
473 0x3e4094aa0ada625eull,
474 0x3e5973ad6fc108caull,
475 0x3e4747322fdbab97ull,
476 0x3e593692fa9d4221ull,
477 0x3e5c5a992dfbc7d9ull,
478 0x3e4e1f33e102387aull,
479 0x3e464fbef14c048cull,
480 0x3e4490f513ca5e3bull,
481 0x3e37a6af4d4c799dull,
482 0x3e57574c1c07398full,
483 0x3e57b133417f8c1cull,
484 0x3e5feb9e0c176514ull,
485 0x3e419f25bb3172f7ull,
486 0x3e45f68a7bbfb852ull,
487 0x3e5ee278497929f1ull,
488 0x3e5ccee006109d58ull,
489 0x3e5ce081a07bd8b3ull,
490 0x3e570e12981817b8ull,
491 0x3e292ab6d93503d0ull,
492 0x3e58cb7dd7c3b61eull,
493 0x3e4efafd0a0b78daull,
494 0x3e5e907267c4288eull,
495 0x3e5d31ef96780875ull,
496 0x3e23430dfcd2ad50ull,
497 0x3e344d88d75bc1f9ull,
498 0x3e5bec0f055e04fcull,
499 0x3e5d85611590b9adull,
500 0x3df320568e583229ull,
501 0x3e5a891d1772f538ull,
502 0x3e22edc9dabba74dull,
503 0x3e4b9009a1015086ull,
504 0x3e52a12a8c5b1a19ull,
505 0x3e3a7885f0fdac85ull,
506 0x3e5f4ffcd43ac691ull,
507 0x3e52243ae2640aadull,
508 0x3e546513299035d3ull,
509 0x3e5b39c3a62dd725ull,
510 0x3e5ba6dd40049f51ull,
511 0x3e451d1ed7177409ull,
512 0x3e5cb0f2fd7f5216ull,
513 0x3e3ab150cd4e2213ull,
514 0x3e5cfd7bf3193844ull,
515 0x3e53fff8455f1dbdull,
516 0x3e5fee640b905fc9ull,
517 0x3e54e2adf548084cull,
518 0x3e3b597adc1ecdd2ull,
519 0x3e4345bd096d3a75ull,
520 0x3e5101b9d2453c8bull,
521 0x3e508ce55cc8c979ull,
522 0x3e5bbf017e595f71ull,
523 0x3e37ce733bd393dcull,
524 0x3e233bb0a503f8a1ull,
525 0x3e30e2f613e85bd9ull,
526 0x3e5e67555a635b3cull,
527 0x3e2ea88df73d5e8bull,
528 0x3e3d17e03bda18a8ull,
529 0x3e5b607d76044f7eull,
530 0x3e52adc4e71bc2fcull,
531 0x3e5f99dc7362d1d9ull,
532 0x3e5473fa008e6a6aull,
533 0x3e2b75bb09cb0985ull,
534 0x3e5ea04dd10b9abaull,
535 0x3e5802d0d6979674ull,
536 0x3e174688ccd99094ull,
537 0x3e496f16abb9df22ull,
538 0x3e46e66df2aa374full,
539 0x3e4e66525ea4550aull,
540 0x3e42d02f34f20cbdull,
541 0x3e46cfce65047188ull,
542 0x3e39b78c842d58b8ull,
543 0x3e4735e624c24bc9ull,
544 0x3e47eba1f7dd1adfull,
545 0x3e586b3e59f65355ull,
546 0x3e1ce38e637f1b4dull,
547 0x3e58d82ec919edc7ull,
548 0x3e4c52648ddcfa37ull,
549 0x3e52482ceae1ac12ull,
550 0x3e55a312311aba4full,
551 0x3e411e236329f225ull,
552 0x3e5b48c8cd2f246cull,
553 0x3e6efa39ef35793cull,
554 0x0000000000000000ull
555};
#define _CRT_ALIGN(x)
Definition: crtdefs.h:159