Math Processor Unit Library

libmpu – library of arithmetic functions for integer, real, and complex numbers of increased digit capacity

16 Commits   0 Branches   2 Tags

#ifndef   __REAL_EINTERNAL_MCONST_002_32LSB
#define   __REAL_EINTERNAL_MCONST_002_32LSB

#if BITS_PER_EMUSHORT == 32

/* m_pi_256 = 3.1415926535897932384626433832795028841971693993751058209749445923087E+0; */
static EMUSHORT _ei_m_pi_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x020bbea6, 0x8a67cc74, 0x29024e08, 0x80dc1cd1, 0xc4c6628b, 0x2168c234, 0xc90fdaa2, 0x00000000, 0x40000000, 0x00000000
};

/* m_e_256 = 2.7182818284590452353602874713526624977572470936999595749669676277240E+0; */
static EMUSHORT _ei_m_e_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0xa9e13641, 0xce2d3695, 0xd8b9c583, 0x273d3cf1, 0xafdc5620, 0xa2bb4a9a, 0xadf85458, 0x00000000, 0x40000000, 0x00000000
};

/* m_1_ln2_256 = 1.4426950408889634073599246810018921374266459541529859341354494069311E+0; */
static EMUSHORT _ei_m_1_ln2_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x8b25166d, 0xdd695a58, 0xeb577aa8, 0x691d3e88, 0xbe87fed0, 0x5c17f0bb, 0xb8aa3b29, 0x00000000, 0x3fffffff, 0x00000000
};

/* m_ln2_256 = 6.9314718055994530941723212145817656807550013436025525412068000949341E-1; */
static EMUSHORT _ei_m_ln2_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x8a0d175c, 0x7298b62d, 0x40f34326, 0x03f2f6af, 0xc9e3b398, 0xd1cf79ab, 0xb17217f7, 0x00000000, 0x3ffffffe, 0x00000000
};

/* m_1_ln10_256 = 4.3429448190325182765112891891660508229439700580366656611445378316596E-1; */
static EMUSHORT _ei_m_1_ln10_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x3a3f2d45, 0x45c9a202, 0x3ee34602, 0xad33dc32, 0x355baaaf, 0x37287195, 0xde5bd8a9, 0x00000000, 0x3ffffffd, 0x00000000
};

/* m_ln10_256 = 2.3025850929940456840179914546843642076011014886287729760333279009685E+0; */
static EMUSHORT _ei_m_ln10_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x83c61e82, 0xda5df90e, 0xe28fecf9, 0x82d30a28, 0xea56d62b, 0xaaa8ac16, 0x935d8ddd, 0x00000000, 0x40000000, 0x00000000
};

/* m_1_lg2_256 = 3.3219280948873623478703194294893901758648313930245806120547563958160E+0; */
static EMUSHORT _ei_m_1_lg2_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x91b6ac81, 0x37b3ad4e, 0xd96c55fe, 0x4dafdb4c, 0x492bf6ff, 0xcd1b8afe, 0xd49a784b, 0x00000000, 0x40000000, 0x00000000
};

/* m_lg2_256 = 3.0102999566398119521373889472449302676818988146210854131042746112719E-1; */
static EMUSHORT _ei_m_lg2_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x8a5e6f26, 0x43d1f349, 0x26ad30c5, 0x0b7c9178, 0x8f8959ac, 0xfbcff798, 0x9a209a84, 0x00000000, 0x3ffffffd, 0x00000000
};

/* m_pi_2_256 = 1.5707963267948966192313216916397514420985846996875529104874722961548E+0; */
static EMUSHORT _ei_m_pi_2_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x020bbea6, 0x8a67cc74, 0x29024e08, 0x80dc1cd1, 0xc4c6628b, 0x2168c234, 0xc90fdaa2, 0x00000000, 0x3fffffff, 0x00000000
};

/* m_pi_3_256 = 1.0471975511965977461542144610931676280657231331250352736583148641035E+0; */
static EMUSHORT _ei_m_pi_3_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x56b27f19, 0xb19a884d, 0x70ac3405, 0xab3d688b, 0x2dd99707, 0x6b9b2c23, 0x860a91c1, 0x00000000, 0x3fffffff, 0x00000000
};

/* m_pi_4_256 = 7.8539816339744830961566084581987572104929234984377645524373614807694E-1; */
static EMUSHORT _ei_m_pi_4_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x020bbea6, 0x8a67cc74, 0x29024e08, 0x80dc1cd1, 0xc4c6628b, 0x2168c234, 0xc90fdaa2, 0x00000000, 0x3ffffffe, 0x00000000
};

/* m_pi_5_256 = 6.2831853071795864769252867665590057683943387987502116419498891846154E-1; */
static EMUSHORT _ei_m_pi_5_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x01a2feeb, 0xa1eca390, 0x20cea4d3, 0x67167d74, 0xd09eb53c, 0xe78701c3, 0xa0d97bb4, 0x00000000, 0x3ffffffe, 0x00000000
};

/* m_pi_6_256 = 5.2359877559829887307710723054658381403286156656251763682915743205138E-1; */
static EMUSHORT _ei_m_pi_6_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x56b27f19, 0xb19a884d, 0x70ac3405, 0xab3d688b, 0x2dd99707, 0x6b9b2c23, 0x860a91c1, 0x00000000, 0x3ffffffe, 0x00000000
};

/* m_1_pi_256 = 3.1830988618379067153776752674502872406891929148091289749533468811789E-1; */
static EMUSHORT _ei_m_1_pi_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0xfe5163ac, 0x3c439041, 0xdb629599, 0xf534ddc0, 0xfc2757d1, 0x4e441529, 0xa2f9836e, 0x00000000, 0x3ffffffd, 0x00000000
};

/* m_2_pi_256 = 6.3661977236758134307553505349005744813783858296182579499066937623569E-1; */
static EMUSHORT _ei_m_2_pi_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0xfe5163ac, 0x3c439041, 0xdb629599, 0xf534ddc0, 0xfc2757d1, 0x4e441529, 0xa2f9836e, 0x00000000, 0x3ffffffe, 0x00000000
};

/* m_3_pi_256 = 9.5492965855137201461330258023508617220675787444273869248600406435348E-1; */
static EMUSHORT _ei_m_3_pi_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0xfd7a1582, 0xda655862, 0x4913e065, 0xefcf4ca1, 0xfa3b03ba, 0x75661fbe, 0xf4764525, 0x00000000, 0x3ffffffe, 0x00000000
};

/* m_4_pi_256 = 1.2732395447351626861510701069801148962756771659236515899813387524711E+0; */
static EMUSHORT _ei_m_4_pi_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0xfe5163ac, 0x3c439041, 0xdb629599, 0xf534ddc0, 0xfc2757d1, 0x4e441529, 0xa2f9836e, 0x00000000, 0x3fffffff, 0x00000000
};

/* m_5_pi_256 = 1.5915494309189533576888376337251436203445964574045644874766734405899E+0; */
static EMUSHORT _ei_m_5_pi_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x7de5bc97, 0x8b547452, 0x123b3aff, 0x72821531, 0x7b312dc6, 0xe1d51a74, 0xcbb7e449, 0x00000000, 0x3fffffff, 0x00000000
};

/* m_2pi_256 = 6.2831853071795864769252867665590057683943387987502116419498891846165E+0; */
static EMUSHORT _ei_m_2pi_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x020bbea6, 0x8a67cc74, 0x29024e08, 0x80dc1cd1, 0xc4c6628b, 0x2168c234, 0xc90fdaa2, 0x00000000, 0x40000001, 0x00000000
};

/* m_3pi_256 = 9.4247779607693797153879301498385086525915081981253174629248337769246E+0; */
static EMUSHORT _ei_m_3pi_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x0188cefd, 0x67cdd957, 0xdec1ba86, 0xa0a5159c, 0x9394c9e8, 0x990e91a7, 0x96cbe3f9, 0x00000000, 0x40000002, 0x00000000
};

/* m_1_2pi_256 = 1.5915494309189533576888376337251436203445964574045644874766734405899E-1; */
static EMUSHORT _ei_m_1_2pi_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0xfe5163ac, 0x3c439041, 0xdb629599, 0xf534ddc0, 0xfc2757d1, 0x4e441529, 0xa2f9836e, 0x00000000, 0x3ffffffc, 0x00000000
};

/* m_1_3pi_256 = 1.0610329539459689051258917558167624135630643049363763249844489603936E-1; */
static EMUSHORT _ei_m_1_3pi_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0xa86c84e5, 0xa5af6b02, 0x24837221, 0x9c467d01, 0xfadf1fc2, 0xbdb01c37, 0xd94caf3d, 0x00000000, 0x3ffffffb, 0x00000000
};

/* m_1_4pi_256 = 7.9577471545947667884441881686257181017229822870228224373833672029459E-2; */
static EMUSHORT _ei_m_1_4pi_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0xfe5163ac, 0x3c439041, 0xdb629599, 0xf534ddc0, 0xfc2757d1, 0x4e441529, 0xa2f9836e, 0x00000000, 0x3ffffffb, 0x00000000
};

/* m_1_5pi_256 = 6.3661977236758134307553505349005744813783858296182579499066937623561E-2; */
static EMUSHORT _ei_m_1_5pi_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x650de957, 0xfd02d9ce, 0x491baae0, 0x5dc3e49a, 0xc9b9130e, 0xd8367754, 0x826135f1, 0x00000000, 0x3ffffffb, 0x00000000
};

/* m_1_6pi_256 = 5.3051647697298445256294587790838120678153215246818816249222448019631E-2; */
static EMUSHORT _ei_m_1_6pi_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0xa86c84e5, 0xa5af6b02, 0x24837221, 0x9c467d01, 0xfadf1fc2, 0xbdb01c37, 0xd94caf3d, 0x00000000, 0x3ffffffa, 0x00000000
};

/* m_3pi_4_256 = 2.3561944901923449288469825374596271631478770495313293657312084442319E+0; */
static EMUSHORT _ei_m_3pi_4_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x0188cefd, 0x67cdd957, 0xdec1ba86, 0xa0a5159c, 0x9394c9e8, 0x990e91a7, 0x96cbe3f9, 0x00000000, 0x40000000, 0x00000000
};

/* m_sqrtpi_256 = 1.7724538509055160272981674833411451827975494561223871282138077898539E+0; */
static EMUSHORT _ei_m_sqrtpi_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0xe50805ea, 0x7b1d9296, 0xf1c90aa3, 0xaedc9c1f, 0xe1d82906, 0xa77b553c, 0xe2dfc48d, 0x00000000, 0x3fffffff, 0x00000000
};

/* m_1_sqrtpi_256 = 5.6418958354775628694807945156077258584405062932899885684408572171064E-1; */
static EMUSHORT _ei_m_1_sqrtpi_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x39a15831, 0xac3e7517, 0x1409a0eb, 0x6bfec344, 0x71d48a7f, 0x14db688d, 0x906eba82, 0x00000000, 0x3ffffffe, 0x00000000
};

/* m_2_sqrtpi_256 = 1.1283791670955125738961589031215451716881012586579977136881714434212E+0; */
static EMUSHORT _ei_m_2_sqrtpi_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x39a15831, 0xac3e7517, 0x1409a0eb, 0x6bfec344, 0x71d48a7f, 0x14db688d, 0x906eba82, 0x00000000, 0x3fffffff, 0x00000000
};

/* m_sqrt2_256 = 1.4142135623730950488016887242096980785696718753769480731766797379916E+0; */
static EMUSHORT _ei_m_sqrt2_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0xed17ac85, 0x893ba84c, 0x1d6f60ba, 0x754abe9f, 0x597d89b3, 0xf9de6484, 0xb504f333, 0x00000000, 0x3fffffff, 0x00000000
};

/* m_1_sqrt2_256 = 7.0710678118654752440084436210484903928483593768847403658833986899534E-1; */
static EMUSHORT _ei_m_1_sqrt2_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0xed17ac85, 0x893ba84c, 0x1d6f60ba, 0x754abe9f, 0x597d89b3, 0xf9de6484, 0xb504f333, 0x00000000, 0x3ffffffe, 0x00000000
};

/* m_sqrt3_256 = 1.7320508075688772935274463415058723669428052538103806280558069794529E+0; */
static EMUSHORT _ei_m_sqrt3_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x63905324, 0x29ed23cc, 0x92ec1a66, 0x3c5c1dc4, 0x92ba16b8, 0xc265539d, 0xddb3d742, 0x00000000, 0x3fffffff, 0x00000000
};

/* m_1_sqrt3_256 = 5.7735026918962576450914878050195745564760175127012687601860232648394E-1; */
static EMUSHORT _ei_m_1_sqrt3_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x97b58cc2, 0xc69e17dd, 0x0c9d66ee, 0x7d92be83, 0x0c7c0f25, 0x8198e269, 0x93cd3a2c, 0x00000000, 0x3ffffffe, 0x00000000
};

/* m_degree_256 = 1.7453292519943295769236907684886127134428718885417254560971914401719E-2; */
static EMUSHORT _ei_m_degree_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0xe502a9b5, 0x01b5e6b8, 0x00b7aef5, 0x9485c4d9, 0x0ec5f66e, 0x94e9c8ae, 0x8efa3512, 0x00000000, 0x3ffffff9, 0x00000000
};

/* m_1_degree_256 = 5.7295779513082320876798154814105170332405472466564321549160243861203E+1; */
static EMUSHORT _ei_m_1_degree_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0xcda2742a, 0x7cbf02dc, 0x3482a25f, 0x40d257d7, 0x0a97537f, 0x1e0fbdc3, 0xe52ee0d3, 0x00000000, 0x40000004, 0x00000000
};

/* m_goldenratio_256 = 1.6180339887498948482045868343656381177203091798057628621354486227052E+0; */
static EMUSHORT _ei_m_goldenratio_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0xfc363509, 0xf9d13928, 0x084113b5, 0x2e76e41a, 0xf9ce6030, 0xbfa53e0a, 0xcf1bbcdc, 0x00000000, 0x3fffffff, 0x00000000
};

/* m_eulergamma_256 = 5.7721566490153286060651209008240243104215933593992359880576723488498E-1; */
static EMUSHORT _ei_m_eulergamma_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x0c03df35, 0xf65cc019, 0xa1cecc3a, 0x0152cb56, 0xd1be3f81, 0x7db0c7a4, 0x93c467e3, 0x00000000, 0x3ffffffe, 0x00000000
};

/* m_catalan_256 = 9.1596559417721901505460351493238411077414937428167213426649811962187E-1; */
static EMUSHORT _ei_m_catalan_256_[NPIR_256] =
{
/*  lgw         S i g n i f i c a n d                                                               hgw         Exp         Sign     */
/* ==========  ==================================================================================  ==========  ==========  ==========*/
   0x00000000, 0x94a263e6, 0x81c2ff80, 0x3ec43e13, 0x7d32d0c6, 0x215822e3, 0x409ae845, 0xea7cb89f, 0x00000000, 0x3ffffffe, 0x00000000
};

#else  /* BITS_PER_EMUSHORT != 32 */
#error ei_mconst_002_emu32lsb.dfn: ERROR: Failed size of EMUSHORT data type.
#endif /* BITS_PER_EMUSHORT == 32 */

#endif /* __REAL_EINTERNAL_MCONST_002_32LSB */