1/*
2 * Lookup table for double-precision e^x vector function.
3 *
4 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 * See https://llvm.org/LICENSE.txt for license information.
6 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 */
8
9#include "v_exp.h"
10#if WANT_VMATH
11
12#define N (1 << V_EXP_TABLE_BITS)
13
14/* 2^(j/N), j=0..N. */
15const u64_t __v_exp_data[] = {
16#if N == 128
170x3ff0000000000000,
180x3feff63da9fb3335,
190x3fefec9a3e778061,
200x3fefe315e86e7f85,
210x3fefd9b0d3158574,
220x3fefd06b29ddf6de,
230x3fefc74518759bc8,
240x3fefbe3ecac6f383,
250x3fefb5586cf9890f,
260x3fefac922b7247f7,
270x3fefa3ec32d3d1a2,
280x3fef9b66affed31b,
290x3fef9301d0125b51,
300x3fef8abdc06c31cc,
310x3fef829aaea92de0,
320x3fef7a98c8a58e51,
330x3fef72b83c7d517b,
340x3fef6af9388c8dea,
350x3fef635beb6fcb75,
360x3fef5be084045cd4,
370x3fef54873168b9aa,
380x3fef4d5022fcd91d,
390x3fef463b88628cd6,
400x3fef3f49917ddc96,
410x3fef387a6e756238,
420x3fef31ce4fb2a63f,
430x3fef2b4565e27cdd,
440x3fef24dfe1f56381,
450x3fef1e9df51fdee1,
460x3fef187fd0dad990,
470x3fef1285a6e4030b,
480x3fef0cafa93e2f56,
490x3fef06fe0a31b715,
500x3fef0170fc4cd831,
510x3feefc08b26416ff,
520x3feef6c55f929ff1,
530x3feef1a7373aa9cb,
540x3feeecae6d05d866,
550x3feee7db34e59ff7,
560x3feee32dc313a8e5,
570x3feedea64c123422,
580x3feeda4504ac801c,
590x3feed60a21f72e2a,
600x3feed1f5d950a897,
610x3feece086061892d,
620x3feeca41ed1d0057,
630x3feec6a2b5c13cd0,
640x3feec32af0d7d3de,
650x3feebfdad5362a27,
660x3feebcb299fddd0d,
670x3feeb9b2769d2ca7,
680x3feeb6daa2cf6642,
690x3feeb42b569d4f82,
700x3feeb1a4ca5d920f,
710x3feeaf4736b527da,
720x3feead12d497c7fd,
730x3feeab07dd485429,
740x3feea9268a5946b7,
750x3feea76f15ad2148,
760x3feea5e1b976dc09,
770x3feea47eb03a5585,
780x3feea34634ccc320,
790x3feea23882552225,
800x3feea155d44ca973,
810x3feea09e667f3bcd,
820x3feea012750bdabf,
830x3fee9fb23c651a2f,
840x3fee9f7df9519484,
850x3fee9f75e8ec5f74,
860x3fee9f9a48a58174,
870x3fee9feb564267c9,
880x3feea0694fde5d3f,
890x3feea11473eb0187,
900x3feea1ed0130c132,
910x3feea2f336cf4e62,
920x3feea427543e1a12,
930x3feea589994cce13,
940x3feea71a4623c7ad,
950x3feea8d99b4492ed,
960x3feeaac7d98a6699,
970x3feeace5422aa0db,
980x3feeaf3216b5448c,
990x3feeb1ae99157736,
1000x3feeb45b0b91ffc6,
1010x3feeb737b0cdc5e5,
1020x3feeba44cbc8520f,
1030x3feebd829fde4e50,
1040x3feec0f170ca07ba,
1050x3feec49182a3f090,
1060x3feec86319e32323,
1070x3feecc667b5de565,
1080x3feed09bec4a2d33,
1090x3feed503b23e255d,
1100x3feed99e1330b358,
1110x3feede6b5579fdbf,
1120x3feee36bbfd3f37a,
1130x3feee89f995ad3ad,
1140x3feeee07298db666,
1150x3feef3a2b84f15fb,
1160x3feef9728de5593a,
1170x3feeff76f2fb5e47,
1180x3fef05b030a1064a,
1190x3fef0c1e904bc1d2,
1200x3fef12c25bd71e09,
1210x3fef199bdd85529c,
1220x3fef20ab5fffd07a,
1230x3fef27f12e57d14b,
1240x3fef2f6d9406e7b5,
1250x3fef3720dcef9069,
1260x3fef3f0b555dc3fa,
1270x3fef472d4a07897c,
1280x3fef4f87080d89f2,
1290x3fef5818dcfba487,
1300x3fef60e316c98398,
1310x3fef69e603db3285,
1320x3fef7321f301b460,
1330x3fef7c97337b9b5f,
1340x3fef864614f5a129,
1350x3fef902ee78b3ff6,
1360x3fef9a51fbc74c83,
1370x3fefa4afa2a490da,
1380x3fefaf482d8e67f1,
1390x3fefba1bee615a27,
1400x3fefc52b376bba97,
1410x3fefd0765b6e4540,
1420x3fefdbfdad9cbe14,
1430x3fefe7c1819e90d8,
1440x3feff3c22b8f71f1,
145#elif N == 256
1460x3ff0000000000000,
1470x3feffb1afa5abcbf,
1480x3feff63da9fb3335,
1490x3feff168143b0281,
1500x3fefec9a3e778061,
1510x3fefe7d42e11bbcc,
1520x3fefe315e86e7f85,
1530x3fefde5f72f654b1,
1540x3fefd9b0d3158574,
1550x3fefd50a0e3c1f89,
1560x3fefd06b29ddf6de,
1570x3fefcbd42b72a836,
1580x3fefc74518759bc8,
1590x3fefc2bdf66607e0,
1600x3fefbe3ecac6f383,
1610x3fefb9c79b1f3919,
1620x3fefb5586cf9890f,
1630x3fefb0f145e46c85,
1640x3fefac922b7247f7,
1650x3fefa83b23395dec,
1660x3fefa3ec32d3d1a2,
1670x3fef9fa55fdfa9c5,
1680x3fef9b66affed31b,
1690x3fef973028d7233e,
1700x3fef9301d0125b51,
1710x3fef8edbab5e2ab6,
1720x3fef8abdc06c31cc,
1730x3fef86a814f204ab,
1740x3fef829aaea92de0,
1750x3fef7e95934f312e,
1760x3fef7a98c8a58e51,
1770x3fef76a45471c3c2,
1780x3fef72b83c7d517b,
1790x3fef6ed48695bbc0,
1800x3fef6af9388c8dea,
1810x3fef672658375d2f,
1820x3fef635beb6fcb75,
1830x3fef5f99f8138a1c,
1840x3fef5be084045cd4,
1850x3fef582f95281c6b,
1860x3fef54873168b9aa,
1870x3fef50e75eb44027,
1880x3fef4d5022fcd91d,
1890x3fef49c18438ce4d,
1900x3fef463b88628cd6,
1910x3fef42be3578a819,
1920x3fef3f49917ddc96,
1930x3fef3bdda27912d1,
1940x3fef387a6e756238,
1950x3fef351ffb82140a,
1960x3fef31ce4fb2a63f,
1970x3fef2e85711ece75,
1980x3fef2b4565e27cdd,
1990x3fef280e341ddf29,
2000x3fef24dfe1f56381,
2010x3fef21ba7591bb70,
2020x3fef1e9df51fdee1,
2030x3fef1b8a66d10f13,
2040x3fef187fd0dad990,
2050x3fef157e39771b2f,
2060x3fef1285a6e4030b,
2070x3fef0f961f641589,
2080x3fef0cafa93e2f56,
2090x3fef09d24abd886b,
2100x3fef06fe0a31b715,
2110x3fef0432edeeb2fd,
2120x3fef0170fc4cd831,
2130x3feefeb83ba8ea32,
2140x3feefc08b26416ff,
2150x3feef96266e3fa2d,
2160x3feef6c55f929ff1,
2170x3feef431a2de883b,
2180x3feef1a7373aa9cb,
2190x3feeef26231e754a,
2200x3feeecae6d05d866,
2210x3feeea401b7140ef,
2220x3feee7db34e59ff7,
2230x3feee57fbfec6cf4,
2240x3feee32dc313a8e5,
2250x3feee0e544ede173,
2260x3feedea64c123422,
2270x3feedc70df1c5175,
2280x3feeda4504ac801c,
2290x3feed822c367a024,
2300x3feed60a21f72e2a,
2310x3feed3fb2709468a,
2320x3feed1f5d950a897,
2330x3feecffa3f84b9d4,
2340x3feece086061892d,
2350x3feecc2042a7d232,
2360x3feeca41ed1d0057,
2370x3feec86d668b3237,
2380x3feec6a2b5c13cd0,
2390x3feec4e1e192aed2,
2400x3feec32af0d7d3de,
2410x3feec17dea6db7d7,
2420x3feebfdad5362a27,
2430x3feebe41b817c114,
2440x3feebcb299fddd0d,
2450x3feebb2d81d8abff,
2460x3feeb9b2769d2ca7,
2470x3feeb8417f4531ee,
2480x3feeb6daa2cf6642,
2490x3feeb57de83f4eef,
2500x3feeb42b569d4f82,
2510x3feeb2e2f4f6ad27,
2520x3feeb1a4ca5d920f,
2530x3feeb070dde910d2,
2540x3feeaf4736b527da,
2550x3feeae27dbe2c4cf,
2560x3feead12d497c7fd,
2570x3feeac0827ff07cc,
2580x3feeab07dd485429,
2590x3feeaa11fba87a03,
2600x3feea9268a5946b7,
2610x3feea84590998b93,
2620x3feea76f15ad2148,
2630x3feea6a320dceb71,
2640x3feea5e1b976dc09,
2650x3feea52ae6cdf6f4,
2660x3feea47eb03a5585,
2670x3feea3dd1d1929fd,
2680x3feea34634ccc320,
2690x3feea2b9febc8fb7,
2700x3feea23882552225,
2710x3feea1c1c70833f6,
2720x3feea155d44ca973,
2730x3feea0f4b19e9538,
2740x3feea09e667f3bcd,
2750x3feea052fa75173e,
2760x3feea012750bdabf,
2770x3fee9fdcddd47645,
2780x3fee9fb23c651a2f,
2790x3fee9f9298593ae5,
2800x3fee9f7df9519484,
2810x3fee9f7466f42e87,
2820x3fee9f75e8ec5f74,
2830x3fee9f8286ead08a,
2840x3fee9f9a48a58174,
2850x3fee9fbd35d7cbfd,
2860x3fee9feb564267c9,
2870x3feea024b1ab6e09,
2880x3feea0694fde5d3f,
2890x3feea0b938ac1cf6,
2900x3feea11473eb0187,
2910x3feea17b0976cfdb,
2920x3feea1ed0130c132,
2930x3feea26a62ff86f0,
2940x3feea2f336cf4e62,
2950x3feea3878491c491,
2960x3feea427543e1a12,
2970x3feea4d2add106d9,
2980x3feea589994cce13,
2990x3feea64c1eb941f7,
3000x3feea71a4623c7ad,
3010x3feea7f4179f5b21,
3020x3feea8d99b4492ed,
3030x3feea9cad931a436,
3040x3feeaac7d98a6699,
3050x3feeabd0a478580f,
3060x3feeace5422aa0db,
3070x3feeae05bad61778,
3080x3feeaf3216b5448c,
3090x3feeb06a5e0866d9,
3100x3feeb1ae99157736,
3110x3feeb2fed0282c8a,
3120x3feeb45b0b91ffc6,
3130x3feeb5c353aa2fe2,
3140x3feeb737b0cdc5e5,
3150x3feeb8b82b5f98e5,
3160x3feeba44cbc8520f,
3170x3feebbdd9a7670b3,
3180x3feebd829fde4e50,
3190x3feebf33e47a22a2,
3200x3feec0f170ca07ba,
3210x3feec2bb4d53fe0d,
3220x3feec49182a3f090,
3230x3feec674194bb8d5,
3240x3feec86319e32323,
3250x3feeca5e8d07f29e,
3260x3feecc667b5de565,
3270x3feece7aed8eb8bb,
3280x3feed09bec4a2d33,
3290x3feed2c980460ad8,
3300x3feed503b23e255d,
3310x3feed74a8af46052,
3320x3feed99e1330b358,
3330x3feedbfe53c12e59,
3340x3feede6b5579fdbf,
3350x3feee0e521356eba,
3360x3feee36bbfd3f37a,
3370x3feee5ff3a3c2774,
3380x3feee89f995ad3ad,
3390x3feeeb4ce622f2ff,
3400x3feeee07298db666,
3410x3feef0ce6c9a8952,
3420x3feef3a2b84f15fb,
3430x3feef68415b749b1,
3440x3feef9728de5593a,
3450x3feefc6e29f1c52a,
3460x3feeff76f2fb5e47,
3470x3fef028cf22749e4,
3480x3fef05b030a1064a,
3490x3fef08e0b79a6f1f,
3500x3fef0c1e904bc1d2,
3510x3fef0f69c3f3a207,
3520x3fef12c25bd71e09,
3530x3fef16286141b33d,
3540x3fef199bdd85529c,
3550x3fef1d1cd9fa652c,
3560x3fef20ab5fffd07a,
3570x3fef244778fafb22,
3580x3fef27f12e57d14b,
3590x3fef2ba88988c933,
3600x3fef2f6d9406e7b5,
3610x3fef33405751c4db,
3620x3fef3720dcef9069,
3630x3fef3b0f2e6d1675,
3640x3fef3f0b555dc3fa,
3650x3fef43155b5bab74,
3660x3fef472d4a07897c,
3670x3fef4b532b08c968,
3680x3fef4f87080d89f2,
3690x3fef53c8eacaa1d6,
3700x3fef5818dcfba487,
3710x3fef5c76e862e6d3,
3720x3fef60e316c98398,
3730x3fef655d71ff6075,
3740x3fef69e603db3285,
3750x3fef6e7cd63a8315,
3760x3fef7321f301b460,
3770x3fef77d5641c0658,
3780x3fef7c97337b9b5f,
3790x3fef81676b197d17,
3800x3fef864614f5a129,
3810x3fef8b333b16ee12,
3820x3fef902ee78b3ff6,
3830x3fef953924676d76,
3840x3fef9a51fbc74c83,
3850x3fef9f7977cdb740,
3860x3fefa4afa2a490da,
3870x3fefa9f4867cca6e,
3880x3fefaf482d8e67f1,
3890x3fefb4aaa2188510,
3900x3fefba1bee615a27,
3910x3fefbf9c1cb6412a,
3920x3fefc52b376bba97,
3930x3fefcac948dd7274,
3940x3fefd0765b6e4540,
3950x3fefd632798844f8,
3960x3fefdbfdad9cbe14,
3970x3fefe1d802243c89,
3980x3fefe7c1819e90d8,
3990x3fefedba3692d514,
4000x3feff3c22b8f71f1,
4010x3feff9d96b2a23d9,
402#endif
403};
404#endif
405

source code of libc/AOR_v20.02/math/v_exp_data.c