1 /*
2  * IBM Accurate Mathematical Library
3  * Copyright (C) 2001-2022 Free Software Foundation, Inc.
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU Lesser General Public License as published by
7  * the Free Software Foundation; either version 2.1 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with this program; if not, see <https://www.gnu.org/licenses/>.
17  */
18 
19 /************************************************************************/
20 /*  MODULE_NAME: urem.h                                                 */
21 /*                                                                      */
22 /*                                                                      */
23 /* 	common data and variables definition for BIG or LITTLE ENDIAN   */
24 /************************************************************************/
25 
26 #ifndef UREM_H
27 #define UREM_H
28 
29 #ifdef BIG_ENDI
30 static const mynumber big = {{0x43380000, 0}},  /* 6755399441055744 */
31                      t128 = {{0x47f00000, 0}},  /*  2^ 128          */
32                     tm128 = {{0x37f00000, 0}},  /*  2^-128          */
33                       ZERO = {{0, 0}},          /*  0.0             */
34                      nZERO = {{0x80000000, 0}}; /* -0.0             */
35 #else
36 #ifdef LITTLE_ENDI
37 static const mynumber big = {{0, 0x43380000}},  /* 6755399441055744 */
38                      t128 = {{0, 0x47f00000}},  /*  2^ 128          */
39                     tm128 = {{0, 0x37f00000}},  /*  2^-128          */
40                       ZERO = {{0, 0}},          /*  0.0             */
41                      nZERO = {{0, 0x80000000}}; /* -0.0             */
42 #endif
43 #endif
44 
45 #endif
46