]>
Commit | Line | Data |
---|---|---|
e4d82761 UD |
1 | |
2 | /* | |
3 | * IBM Accurate Mathematical Library | |
c6c6dd48 | 4 | * Written by International Business Machines Corp. |
04277e02 | 5 | * Copyright (C) 2001-2019 Free Software Foundation, Inc. |
e4d82761 UD |
6 | * |
7 | * This program is free software; you can redistribute it and/or modify | |
8 | * it under the terms of the GNU Lesser General Public License as published by | |
cc7375ce | 9 | * the Free Software Foundation; either version 2.1 of the License, or |
e4d82761 | 10 | * (at your option) any later version. |
50944bca | 11 | * |
e4d82761 UD |
12 | * This program is distributed in the hope that it will be useful, |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
c6c6dd48 | 15 | * GNU Lesser General Public License for more details. |
e4d82761 UD |
16 | * |
17 | * You should have received a copy of the GNU Lesser General Public License | |
5a82c748 | 18 | * along with this program; if not, see <https://www.gnu.org/licenses/>. |
e4d82761 | 19 | */ |
c6c6dd48 | 20 | |
e4d82761 UD |
21 | /************************************************************************/ |
22 | /* MODULE_NAME: doasin.h */ | |
23 | /* */ | |
24 | /* */ | |
25 | /* common data and variables definition for BIG or LITTLE ENDIAN */ | |
26 | /************************************************************************/ | |
27 | ||
28 | ||
29 | ||
30 | #ifndef DOASIN_H | |
31 | #define DOASIN_H | |
32 | ||
33 | #ifdef BIG_ENDI | |
34 | ||
50944bca UD |
35 | static const mynumber |
36 | /**/ c1 = {{0x3FC55555, 0x55555555}}, /* 0.16666666666666666 */ | |
37 | /**/ cc1 = {{0x3C655555, 0x55775389}}, /* 9.2518585419753846e-18 */ | |
38 | /**/ c2 = {{0x3FB33333, 0x33333333}}, /* 0.074999999999999997 */ | |
39 | /**/ cc2 = {{0x3C499993, 0x63F1A115}}, /* 2.7755472886508899e-18 */ | |
40 | /**/ c3 = {{0x3FA6DB6D, 0xB6DB6DB7}}, /* 0.044642857142857144 */ | |
41 | /**/ cc3 = {{0xBC320FC0, 0x3D5CF0C5}}, /* -9.7911734574147224e-19 */ | |
42 | /**/ c4 = {{0x3F9F1C71, 0xC71C71C5}}, /* 0.030381944444444437 */ | |
43 | /**/ cc4 = {{0xBC02B240, 0xFF23ED1E}}; /* -1.2669108566898312e-19 */ | |
e4d82761 UD |
44 | |
45 | #else | |
46 | #ifdef LITTLE_ENDI | |
47 | ||
50944bca UD |
48 | static const mynumber |
49 | /**/ c1 = {{0x55555555, 0x3FC55555}}, /* 0.16666666666666666 */ | |
50 | /**/ cc1 = {{0x55775389, 0x3C655555}}, /* 9.2518585419753846e-18 */ | |
51 | /**/ c2 = {{0x33333333, 0x3FB33333}}, /* 0.074999999999999997 */ | |
52 | /**/ cc2 = {{0x63F1A115, 0x3C499993}}, /* 2.7755472886508899e-18 */ | |
53 | /**/ c3 = {{0xB6DB6DB7, 0x3FA6DB6D}}, /* 0.044642857142857144 */ | |
54 | /**/ cc3 = {{0x3D5CF0C5, 0xBC320FC0}}, /* -9.7911734574147224e-19 */ | |
55 | /**/ c4 = {{0xC71C71C5, 0x3F9F1C71}}, /* 0.030381944444444437 */ | |
56 | /**/ cc4 = {{0xFF23ED1E, 0xBC02B240}}; /* -1.2669108566898312e-19 */ | |
57 | ||
58 | ||
e4d82761 UD |
59 | #endif |
60 | #endif | |
61 | ||
62 | ||
63 | #endif |