GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
/* instantiation of numeric_limits specializations.12Copyright 2012 Free Software Foundation, Inc.34This file is part of the GNU MP Library.56The GNU MP Library is free software; you can redistribute it and/or modify7it under the terms of either:89* the GNU Lesser General Public License as published by the Free10Software Foundation; either version 3 of the License, or (at your11option) any later version.1213or1415* the GNU General Public License as published by the Free Software16Foundation; either version 2 of the License, or (at your option) any17later version.1819or both in parallel, as here.2021The GNU MP Library is distributed in the hope that it will be useful, but22WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY23or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License24for more details.2526You should have received copies of the GNU General Public License and the27GNU Lesser General Public License along with the GNU MP Library. If not,28see https://www.gnu.org/licenses/. */2930#include "gmpxx.h"3132namespace std {33#define GMPXX_INSTANTIATE_LIMITS(T) \34const bool numeric_limits<T>::is_specialized; \35const int numeric_limits<T>::digits; \36const int numeric_limits<T>::digits10; \37const int numeric_limits<T>::max_digits10; \38const bool numeric_limits<T>::is_signed; \39const bool numeric_limits<T>::is_integer; \40const bool numeric_limits<T>::is_exact; \41const int numeric_limits<T>::radix; \42const int numeric_limits<T>::min_exponent; \43const int numeric_limits<T>::min_exponent10; \44const int numeric_limits<T>::max_exponent; \45const int numeric_limits<T>::max_exponent10; \46const bool numeric_limits<T>::has_infinity; \47const bool numeric_limits<T>::has_quiet_NaN; \48const bool numeric_limits<T>::has_signaling_NaN; \49const float_denorm_style numeric_limits<T>::has_denorm; \50const bool numeric_limits<T>::has_denorm_loss; \51const bool numeric_limits<T>::is_iec559; \52const bool numeric_limits<T>::is_bounded; \53const bool numeric_limits<T>::is_modulo; \54const bool numeric_limits<T>::traps; \55const bool numeric_limits<T>::tinyness_before; \56const float_round_style numeric_limits<T>::round_style5758GMPXX_INSTANTIATE_LIMITS(mpz_class);59GMPXX_INSTANTIATE_LIMITS(mpq_class);60GMPXX_INSTANTIATE_LIMITS(mpf_class);61}626364