OSDN Git Service

PR c++/22494
[pf3gnuchains/gcc-fork.git] / libgcc-math / dbl-64 / urem.h
1 /*
2  * IBM Accurate Mathematical Library
3  * Written by International Business Machines Corp.
4  * Copyright (C) 2001 Free Software Foundation, Inc.
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
8  * the Free Software Foundation; either version 2.1 of the License, or
9  * (at your option) any later version.
10  *
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.
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
18  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19  */
20
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
30
31 #ifdef BIG_ENDI
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             */
39 #else
40 #ifdef LITTLE_ENDI
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             */
48 #endif
49 #endif
50
51 #endif