/* Definitions of specializations of std::numeric_limits objects for multi-precision types. This will become obsolete when GMP and MPFR will provide the specializations by themselves. Copyright (C) 2001-2010 Roberto Bagnara Copyright (C) 2010-2011 BUGSENG srl (http://bugseng.com) This file is part of the Parma Polyhedra Library (PPL). The PPL is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. The PPL is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307, USA. For the most up-to-date information see the Parma Polyhedra Library site: http://www.cs.unipr.it/ppl/ . */ #include #include "mp_std_bits.defs.hh" #if __GNU_MP_VERSION < 5 \ || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1) const bool std::numeric_limits::is_specialized; const int std::numeric_limits::digits; const int std::numeric_limits::digits10; const bool std::numeric_limits::is_signed; const bool std::numeric_limits::is_integer; const bool std::numeric_limits::is_exact; const int std::numeric_limits::radix; const int std::numeric_limits::min_exponent; const int std::numeric_limits::min_exponent10; const int std::numeric_limits::max_exponent; const int std::numeric_limits::max_exponent10; const bool std::numeric_limits::has_infinity; const bool std::numeric_limits::has_quiet_NaN; const bool std::numeric_limits::has_signaling_NaN; const std::float_denorm_style std::numeric_limits::has_denorm; const bool std::numeric_limits::has_denorm_loss; const bool std::numeric_limits::is_iec559; const bool std::numeric_limits::is_bounded; const bool std::numeric_limits::is_modulo; const bool std::numeric_limits::traps; const bool std::numeric_limits::tininess_before; const std::float_round_style std::numeric_limits::round_style; const bool std::numeric_limits::is_specialized; const int std::numeric_limits::digits; const int std::numeric_limits::digits10; const bool std::numeric_limits::is_signed; const bool std::numeric_limits::is_integer; const bool std::numeric_limits::is_exact; const int std::numeric_limits::radix; const int std::numeric_limits::min_exponent; const int std::numeric_limits::min_exponent10; const int std::numeric_limits::max_exponent; const int std::numeric_limits::max_exponent10; const bool std::numeric_limits::has_infinity; const bool std::numeric_limits::has_quiet_NaN; const bool std::numeric_limits::has_signaling_NaN; const std::float_denorm_style std::numeric_limits::has_denorm; const bool std::numeric_limits::has_denorm_loss; const bool std::numeric_limits::is_iec559; const bool std::numeric_limits::is_bounded; const bool std::numeric_limits::is_modulo; const bool std::numeric_limits::traps; const bool std::numeric_limits::tininess_before; const std::float_round_style std::numeric_limits::round_style; #endif //_GNU_MP_VERSION <5 // || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1)