Back to index

glibc  2.9
doasin.h
Go to the documentation of this file.
00001 
00002 /*
00003  * IBM Accurate Mathematical Library
00004  * Written by International Business Machines Corp.
00005  * Copyright (C) 2001 Free Software Foundation, Inc.
00006  *
00007  * This program is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU Lesser General Public License as published by
00009  * the Free Software Foundation; either version 2.1 of the License, or
00010  * (at your option) any later version.
00011  *
00012  * This program is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public License
00018  * along with this program; if not, write to the Free Software
00019  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00020  */
00021 
00022 /************************************************************************/
00023 /*  MODULE_NAME: doasin.h                                                */
00024 /*                                                                      */
00025 /*                                                                      */
00026 /*     common data and variables definition for BIG or LITTLE ENDIAN   */
00027 /************************************************************************/
00028 
00029 
00030 
00031 #ifndef DOASIN_H
00032 #define DOASIN_H
00033 
00034 #ifdef BIG_ENDI
00035 
00036  static const  mynumber
00037              c1 = {{0x3FC55555, 0x55555555}}, /*  0.16666666666666666    */
00038             cc1 = {{0x3C655555, 0x55775389}}, /*  9.2518585419753846e-18 */
00039              c2 = {{0x3FB33333, 0x33333333}}, /*  0.074999999999999997   */
00040             cc2 = {{0x3C499993, 0x63F1A115}}, /*  2.7755472886508899e-18 */
00041              c3 = {{0x3FA6DB6D, 0xB6DB6DB7}}, /*  0.044642857142857144   */
00042             cc3 = {{0xBC320FC0, 0x3D5CF0C5}}, /* -9.7911734574147224e-19 */
00043              c4 = {{0x3F9F1C71, 0xC71C71C5}}, /*  0.030381944444444437   */
00044             cc4 = {{0xBC02B240, 0xFF23ED1E}}; /* -1.2669108566898312e-19 */
00045 
00046 #else
00047 #ifdef LITTLE_ENDI
00048 
00049  static const  mynumber
00050              c1 = {{0x55555555, 0x3FC55555}}, /*  0.16666666666666666    */
00051             cc1 = {{0x55775389, 0x3C655555}}, /*  9.2518585419753846e-18 */
00052              c2 = {{0x33333333, 0x3FB33333}}, /*  0.074999999999999997   */
00053             cc2 = {{0x63F1A115, 0x3C499993}}, /*  2.7755472886508899e-18 */
00054              c3 = {{0xB6DB6DB7, 0x3FA6DB6D}}, /*  0.044642857142857144   */
00055             cc3 = {{0x3D5CF0C5, 0xBC320FC0}}, /* -9.7911734574147224e-19 */
00056              c4 = {{0xC71C71C5, 0x3F9F1C71}}, /*  0.030381944444444437   */
00057             cc4 = {{0xFF23ED1E, 0xBC02B240}}; /* -1.2669108566898312e-19 */
00058 
00059 
00060 #endif
00061 #endif
00062 
00063 
00064 #endif