Blame sysdeps/ieee754/dbl-64/urem.h

Packit 6c4009
/*
Packit 6c4009
 * IBM Accurate Mathematical Library
Packit 6c4009
 * Written by International Business Machines Corp.
Packit 6c4009
 * Copyright (C) 2001-2018 Free Software Foundation, Inc.
Packit 6c4009
 *
Packit 6c4009
 * This program is free software; you can redistribute it and/or modify
Packit 6c4009
 * it under the terms of the GNU Lesser General Public License as published by
Packit 6c4009
 * the Free Software Foundation; either version 2.1 of the License, or
Packit 6c4009
 * (at your option) any later version.
Packit 6c4009
 *
Packit 6c4009
 * This program is distributed in the hope that it will be useful,
Packit 6c4009
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 6c4009
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 6c4009
 * GNU Lesser General Public License for more details.
Packit 6c4009
 *
Packit 6c4009
 * You should have received a copy of the GNU Lesser General Public License
Packit 6c4009
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
Packit 6c4009
 */
Packit 6c4009
Packit 6c4009
/************************************************************************/
Packit 6c4009
/*  MODULE_NAME: urem.h                                                 */
Packit 6c4009
/*                                                                      */
Packit 6c4009
/*                                                                      */
Packit 6c4009
/* 	common data and variables definition for BIG or LITTLE ENDIAN   */
Packit 6c4009
/************************************************************************/
Packit 6c4009
Packit 6c4009
#ifndef UREM_H
Packit 6c4009
#define UREM_H
Packit 6c4009
Packit 6c4009
#ifdef BIG_ENDI
Packit 6c4009
static const mynumber big = {{0x43380000, 0}},  /* 6755399441055744 */
Packit 6c4009
                     t128 = {{0x47f00000, 0}},  /*  2^ 128          */
Packit 6c4009
                    tm128 = {{0x37f00000, 0}},  /*  2^-128          */
Packit 6c4009
                      ZERO = {{0, 0}},          /*  0.0             */
Packit 6c4009
                     nZERO = {{0x80000000, 0}}; /* -0.0             */
Packit 6c4009
#else
Packit 6c4009
#ifdef LITTLE_ENDI
Packit 6c4009
static const mynumber big = {{0, 0x43380000}},  /* 6755399441055744 */
Packit 6c4009
                     t128 = {{0, 0x47f00000}},  /*  2^ 128          */
Packit 6c4009
                    tm128 = {{0, 0x37f00000}},  /*  2^-128          */
Packit 6c4009
                      ZERO = {{0, 0}},          /*  0.0             */
Packit 6c4009
                     nZERO = {{0, 0x80000000}}; /* -0.0             */
Packit 6c4009
#endif
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#endif