]>
Commit | Line | Data |
---|---|---|
e4d82761 UD |
1 | /* |
2 | * IBM Accurate Mathematical Library | |
c6c6dd48 RM |
3 | * Written by International Business Machines Corp. |
4 | * Copyright (C) 2001 Free Software Foundation, Inc. | |
e4d82761 UD |
5 | * |
6 | * This program is free software; you can redistribute it and/or modify | |
7 | * it under the terms of the GNU Lesser General Public License as published by | |
cc7375ce | 8 | * the Free Software Foundation; either version 2.1 of the License, or |
e4d82761 | 9 | * (at your option) any later version. |
50944bca | 10 | * |
e4d82761 UD |
11 | * This program is distributed in the hope that it will be useful, |
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
c6c6dd48 | 14 | * GNU Lesser General Public License for more details. |
e4d82761 UD |
15 | * |
16 | * You should have received a copy of the GNU Lesser General Public License | |
17 | * along with this program; if not, write to the Free Software | |
50944bca | 18 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
e4d82761 | 19 | */ |
c6c6dd48 | 20 | |
e4d82761 UD |
21 | /************************************************************************/ |
22 | /* MODULE_NAME: urem.h */ | |
23 | /* */ | |
24 | /* */ | |
25 | /* common data and variables definition for BIG or LITTLE ENDIAN */ | |
26 | /************************************************************************/ | |
27 | ||
28 | #ifndef UREM_H | |
29 | #define UREM_H | |
50944bca | 30 | |
e4d82761 | 31 | #ifdef BIG_ENDI |
50944bca UD |
32 | static const mynumber big = {{0x43380000, 0}}, /* 6755399441055744 */ |
33 | t128 = {{0x47f00000, 0}}, /* 2^ 128 */ | |
34 | tm128 = {{0x37f00000, 0}}, /* 2^-128 */ | |
35 | ZERO = {{0, 0}}, /* 0.0 */ | |
36 | nZERO = {{0x80000000, 0}}, /* -0.0 */ | |
37 | NAN = {{0x7ff80000, 0}}, /* NaN */ | |
38 | nNAN = {{0xfff80000, 0}}; /* -NaN */ | |
e4d82761 UD |
39 | #else |
40 | #ifdef LITTLE_ENDI | |
50944bca UD |
41 | static const mynumber big = {{0, 0x43380000}}, /* 6755399441055744 */ |
42 | t128 = {{0, 0x47f00000}}, /* 2^ 128 */ | |
43 | tm128 = {{0, 0x37f00000}}, /* 2^-128 */ | |
44 | ZERO = {{0, 0}}, /* 0.0 */ | |
45 | nZERO = {{0, 0x80000000}}, /* -0.0 */ | |
46 | NAN = {{0, 0x7ff80000}}, /* NaN */ | |
47 | nNAN = {{0, 0xfff80000}}; /* -NaN */ | |
e4d82761 UD |
48 | #endif |
49 | #endif | |
50 | ||
51 | #endif |