Index: test/print/print1/test.c
===================================================================
--- test/print/print1/test.c	(revision 51022e9b693b712b72c0faca8aa70dedc9d322a8)
+++ test/print/print1/test.c	(revision ab08b4244b9dfd556f4d25b75dd22cb1192d66b9)
@@ -32,4 +32,5 @@
 {
 	__u64 u64const = 0x0123456789ABCDEFLL;
+	double d;
 	printf(" Printf test \n");
 	printf(" Q  %Q  %q \n",u64const, u64const);
@@ -48,4 +49,10 @@
 	printf(" E  %.10E %.8e (123456789.987654321e12 for precision 10 & 8)\n",123456789.987654321e12,123456789.987654321e12);
 	printf(" E  %.10E %.8e (987654321.123456789e12 for precision 10 & 8)\n",987654321.123456789e12,987654321.123456789e12);
+	u64const =0x7fffffffffffffffLL;
+	d =*((double *)((void *)(&u64const)));
+	printf(" E  %.10E (NaN)\n",d);
+	u64const =(0xfff0000000000000LL);
+	d =*(double *)(void *)(&u64const);
+	printf(" E  %.10E (-Inf)\n",d);
 	return;
 }
