author: kx <kx@radix-linux.su> 2024-12-20 16:11:07 +0300
committer: kx <kx@radix-linux.su> 2024-12-20 16:11:07 +0300
commit: 868b2b66b564b5c00e3a74d10be45db7151627ac
parent: cce2ae8d3312493b7653358bb4af201d3271377b
Commit Summary:
Diffstat:
2 files changed, 51 insertions, 0 deletions
diff --git a/mpu/math/cos/emu00128/ei_cos_001_emu32lsb.dfn b/mpu/math/cos/emu00128/ei_cos_001_emu32lsb.dfn
new file mode 100644
index 0000000..31aa828
--- /dev/null
+++ b/mpu/math/cos/emu00128/ei_cos_001_emu32lsb.dfn
@@ -0,0 +1,31 @@
+
+#ifndef __REAL_EINTERNAL_COS_001_32LSB
+#define __REAL_EINTERNAL_COS_001_32LSB
+
+#if BITS_PER_EMUSHORT == 32
+
+#define N_COS_C128 12
+
+static EMUSHORT _ei_cos__C_128_[N_COS_C128][NPIR_128] =
+{
+/* lgw S i g n i f i c a n d hgw Exp Sign */
+/* ========== ================================== ========== ========== ==========*/
+ { 0x00000000, 0x4d035a69, 0x3482ede7, 0xc4746289, 0x00000000, 0x3fffffa6, 0xffffffff }, /* -2.479606017671062292752150290E-27 */
+ { 0x00000000, 0x04f52370, 0x75c1563e, 0xf967cbce, 0x00000000, 0x3fffffaf, 0x00000000 }, /* 1.611744967771632161665549495E-24 */
+ { 0x00000000, 0xfd9e1939, 0xb92a6961, 0x8671cb6d, 0x00000000, 0x3fffffb9, 0xffffffff }, /* -8.896791392348970313666074204E-22 */
+ { 0x00000000, 0x8ff5971a, 0xff740b7d, 0xf2a15d1f, 0x00000000, 0x3fffffc1, 0x00000000 }, /* 4.110317623246635287782738368E-19 */
+ { 0x00000000, 0x9d0bb8f8, 0xcbecbda0, 0xb413c31d, 0x00000000, 0x3fffffca, 0xffffffff }, /* -1.561920696858622700522377403E-16 */
+ { 0x00000000, 0xf05a2b50, 0x9dc0fc34, 0xd73f9f39, 0x00000000, 0x3fffffd2, 0x00000000 }, /* 4.779477332387385585303565324E-14 */
+ { 0x00000000, 0xd6765b60, 0x03e4e905, 0xc9cba546, 0x00000000, 0x3fffffda, 0xffffffff }, /* -1.147074559772972471385012980E-11 */
+ { 0x00000000, 0x26021cb4, 0xc6c4bdaa, 0x8f76c77f, 0x00000000, 0x3fffffe2, 0x00000000 }, /* 2.087675698786809897920359908E-9 */
+ { 0x00000000, 0x780b6a1c, 0xc4fae397, 0x93f27dbb, 0x00000000, 0x3fffffe9, 0xffffffff }, /* -2.755731922398589065255731925E-7 */
+ { 0x00000000, 0x00d00db5, 0x0d00d00d, 0xd00d00d0, 0x00000000, 0x3fffffef, 0x00000000 }, /* 2.480158730158730158730158737E-5 */
+ { 0x00000000, 0x60b60b60, 0x0b60b60b, 0xb60b60b6, 0x00000000, 0x3ffffff5, 0xffffffff }, /* -1.388888888888888888888888889E-3 */
+ { 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000, 0x3ffffffa, 0x00000000 } /* 4.166666666666666666666666667E-2 */
+};
+
+#else /* BITS_PER_EMUSHORT != 32 */
+#error ei_cos_001_emu32lsb.dfn: ERROR: Failed size of EMUSHORT data type.
+#endif /* BITS_PER_EMUSHORT == 32 */
+
+#endif /* __REAL_EINTERNAL_COS_001_32LSB */
diff --git a/mpu/math/cos/emu00128/ei_cos_001_emu32msb.dfn b/mpu/math/cos/emu00128/ei_cos_001_emu32msb.dfn
new file mode 100644
index 0000000..0acee6f
--- /dev/null
+++ b/mpu/math/cos/emu00128/ei_cos_001_emu32msb.dfn
@@ -0,0 +1,33 @@
+
+#ifndef __REAL_EINTERNAL_COS_001_32MSB
+#define __REAL_EINTERNAL_COS_001_32MSB
+
+#if BITS_PER_EMUSHORT == 32
+
+#define N_COS_C128 11
+
+#define N_COS_C128 12
+
+static EMUSHORT _ei_cos__C_128_[N_COS_C128][NPIR_128] =
+{
+/* Sign Exp hgw S i g n i f i c a n d lgw */
+/* ========== ========== ========== ================================== ==========*/
+ { 0xffffffff, 0x3fffffa6, 0x00000000, 0xc4746289, 0x3482ede7, 0x4d035a69, 0x00000000 }, /* -2.479606017671062292752150290E-27 */
+ { 0x00000000, 0x3fffffaf, 0x00000000, 0xf967cbce, 0x75c1563e, 0x04f52370, 0x00000000 }, /* 1.611744967771632161665549495E-24 */
+ { 0xffffffff, 0x3fffffb9, 0x00000000, 0x8671cb6d, 0xb92a6961, 0xfd9e1939, 0x00000000 }, /* -8.896791392348970313666074204E-22 */
+ { 0x00000000, 0x3fffffc1, 0x00000000, 0xf2a15d1f, 0xff740b7d, 0x8ff5971a, 0x00000000 }, /* 4.110317623246635287782738368E-19 */
+ { 0xffffffff, 0x3fffffca, 0x00000000, 0xb413c31d, 0xcbecbda0, 0x9d0bb8f8, 0x00000000 }, /* -1.561920696858622700522377403E-16 */
+ { 0x00000000, 0x3fffffd2, 0x00000000, 0xd73f9f39, 0x9dc0fc34, 0xf05a2b50, 0x00000000 }, /* 4.779477332387385585303565324E-14 */
+ { 0xffffffff, 0x3fffffda, 0x00000000, 0xc9cba546, 0x03e4e905, 0xd6765b60, 0x00000000 }, /* -1.147074559772972471385012980E-11 */
+ { 0x00000000, 0x3fffffe2, 0x00000000, 0x8f76c77f, 0xc6c4bdaa, 0x26021cb4, 0x00000000 }, /* 2.087675698786809897920359908E-9 */
+ { 0xffffffff, 0x3fffffe9, 0x00000000, 0x93f27dbb, 0xc4fae397, 0x780b6a1c, 0x00000000 }, /* -2.755731922398589065255731925E-7 */
+ { 0x00000000, 0x3fffffef, 0x00000000, 0xd00d00d0, 0x0d00d00d, 0x00d00db5, 0x00000000 }, /* 2.480158730158730158730158737E-5 */
+ { 0xffffffff, 0x3ffffff5, 0x00000000, 0xb60b60b6, 0x0b60b60b, 0x60b60b60, 0x00000000 }, /* -1.388888888888888888888888889E-3 */
+ { 0x00000000, 0x3ffffffa, 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 } /* 4.166666666666666666666666667E-2 */
+};
+
+#else /* BITS_PER_EMUSHORT != 32 */
+#error ei_cos_001_emu32msb.dfn: ERROR: Failed size of EMUSHORT data type.
+#endif /* BITS_PER_EMUSHORT == 32 */
+
+#endif /* __REAL_EINTERNAL_COS_001_32MSB */