Lines 1251-1256
Link Here
|
1251 |
check_emin_aux (MPFR_EMIN_MIN); |
1251 |
check_emin_aux (MPFR_EMIN_MIN); |
1252 |
} |
1252 |
} |
1253 |
|
1253 |
|
|
|
1254 |
static void |
1255 |
test20161214 (void) |
1256 |
{ |
1257 |
mpfr_t x; |
1258 |
char buf[32]; |
1259 |
const char s[] = "0x0.fffffffffffff8p+1024"; |
1260 |
int r; |
1261 |
|
1262 |
mpfr_init2 (x, 64); |
1263 |
mpfr_set_str (x, s, 16, MPFR_RNDN); |
1264 |
r = mpfr_snprintf (buf, 32, "%.*RDf", -2, x); |
1265 |
MPFR_ASSERTN(r == 316); |
1266 |
r = mpfr_snprintf (buf, 32, "%.*RDf", INT_MIN + 1, x); |
1267 |
MPFR_ASSERTN(r == 316); |
1268 |
r = mpfr_snprintf (buf, 32, "%.*RDf", INT_MIN, x); |
1269 |
MPFR_ASSERTN(r == 316); |
1270 |
mpfr_clear (x); |
1271 |
} |
1272 |
|
1254 |
int |
1273 |
int |
1255 |
main (int argc, char **argv) |
1274 |
main (int argc, char **argv) |
1256 |
{ |
1275 |
{ |
Lines 1271-1276
Link Here
|
1271 |
mixed (); |
1290 |
mixed (); |
1272 |
check_emax (); |
1291 |
check_emax (); |
1273 |
check_emin (); |
1292 |
check_emin (); |
|
|
1293 |
test20161214 (); |
1274 |
|
1294 |
|
1275 |
#if defined(HAVE_LOCALE_H) && defined(HAVE_SETLOCALE) |
1295 |
#if defined(HAVE_LOCALE_H) && defined(HAVE_SETLOCALE) |
1276 |
#if MPFR_LCONV_DPTS |
1296 |
#if MPFR_LCONV_DPTS |