Update copyright notices with scripts/update-copyrights.
[glibc.git] / sysdeps / ieee754 / dbl-64 / mpa2.h
blobb80bf412e9fd56c88ee162ea0c2722f07baf0362
2 /*
3 * IBM Accurate Mathematical Library
4 * Written by International Business Machines Corp.
5 * Copyright (C) 2001-2013 Free Software Foundation, Inc.
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
9 * the Free Software Foundation; either version 2.1 of the License, or
10 * (at your option) any later version.
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
15 * GNU Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this program; if not, see <http://www.gnu.org/licenses/>.
21 /**************************************************************************/
22 /* */
23 /* MODULE_NAME:mpa2.h */
24 /* */
25 /* */
26 /* variables prototype and definition according to type of processor */
27 /* types definition */
28 /**************************************************************************/
30 #ifndef MPA2_H
31 #define MPA2_H
33 #define RADIX 0x1.0p24 /* 2^24 */
34 #define RADIXI 0x1.0p-24 /* 2^-24 */
35 #define CUTTER 0x1.0p76 /* 2^76 */
36 #define ZERO 0.0 /* 0 */
37 #define ONE 1.0 /* 1 */
38 #define MONE -1.0 /* -1 */
39 #define TWO -2.0 /* -2 */
40 #define TWO5 0x1.0p5 /* 2^5 */
41 #define TWO10 0x1.0p10 /* 2^10 */
42 #define TWO18 0x1.0p18 /* 2^18 */
43 #define TWO19 0x1.0p19 /* 2^19 */
44 #define TWO23 0x1.0p23 /* 2^23 */
45 #define TWO52 0x1.0p52 /* 2^52 */
46 #define TWO57 0x1.0p57 /* 2^57 */
47 #define TWO71 0x1.0p71 /* 2^71 */
48 #define TWOM1032 0x1.0p-1032 /* 2^-1032 */
50 #endif