Fix for logb/logbf/logbl (bugs 13954/13955/13956)
[glibc.git] / sysdeps / ieee754 / dbl-64 / urem.h
blob77776cff01c95063bef1ade4626726b62b2342a5
1 /*
2 * IBM Accurate Mathematical Library
3 * Written by International Business Machines Corp.
4 * Copyright (C) 2001 Free Software Foundation, Inc.
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
8 * the Free Software Foundation; either version 2.1 of the License, or
9 * (at your option) any later version.
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
14 * GNU Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
20 /************************************************************************/
21 /* MODULE_NAME: urem.h */
22 /* */
23 /* */
24 /* common data and variables definition for BIG or LITTLE ENDIAN */
25 /************************************************************************/
27 #ifndef UREM_H
28 #define UREM_H
30 #ifdef BIG_ENDI
31 static const mynumber big = {{0x43380000, 0}}, /* 6755399441055744 */
32 t128 = {{0x47f00000, 0}}, /* 2^ 128 */
33 tm128 = {{0x37f00000, 0}}, /* 2^-128 */
34 ZERO = {{0, 0}}, /* 0.0 */
35 nZERO = {{0x80000000, 0}}, /* -0.0 */
36 NAN = {{0x7ff80000, 0}}, /* NaN */
37 nNAN = {{0xfff80000, 0}}; /* -NaN */
38 #else
39 #ifdef LITTLE_ENDI
40 static const mynumber big = {{0, 0x43380000}}, /* 6755399441055744 */
41 t128 = {{0, 0x47f00000}}, /* 2^ 128 */
42 tm128 = {{0, 0x37f00000}}, /* 2^-128 */
43 ZERO = {{0, 0}}, /* 0.0 */
44 nZERO = {{0, 0x80000000}}, /* -0.0 */
45 NAN = {{0, 0x7ff80000}}, /* NaN */
46 nNAN = {{0, 0xfff80000}}; /* -NaN */
47 #endif
48 #endif
50 #endif