summaryrefslogtreecommitdiffstats
path: root/contrib/gdtoa/g_xfmt.c
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2007-01-03 04:58:54 +0000
committerdas <das@FreeBSD.org>2007-01-03 04:58:54 +0000
commit5bc737f35262327ca86ef96a7cbc6680c8eeb2ea (patch)
tree5f657cd7247cc76d6a32a0ea1f51ec09f8b25661 /contrib/gdtoa/g_xfmt.c
parent2b54587e529691da13ad420858ce167f84023ce5 (diff)
downloadFreeBSD-src-5bc737f35262327ca86ef96a7cbc6680c8eeb2ea.zip
FreeBSD-src-5bc737f35262327ca86ef96a7cbc6680c8eeb2ea.tar.gz
Import of the latest gdtoa sources, which include fixes for minor
problems relating to NaNs and rounding.
Diffstat (limited to 'contrib/gdtoa/g_xfmt.c')
-rw-r--r--contrib/gdtoa/g_xfmt.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/contrib/gdtoa/g_xfmt.c b/contrib/gdtoa/g_xfmt.c
index 1e2a381..47a862d 100644
--- a/contrib/gdtoa/g_xfmt.c
+++ b/contrib/gdtoa/g_xfmt.c
@@ -26,14 +26,8 @@ THIS SOFTWARE.
****************************************************************/
-/* Please send bug reports to
- David M. Gay
- Bell Laboratories, Room 2C-463
- 600 Mountain Avenue
- Murray Hill, NJ 07974-0636
- U.S.A.
- dmg@bell-labs.com
- */
+/* Please send bug reports to David M. Gay (dmg at acm dot org,
+ * with " at " changed at "@" and " dot " changed to "."). */
#include "gdtoaimp.h"
@@ -96,6 +90,7 @@ g_xfmt(char *buf, void *V, int ndig, unsigned bufsize)
}
else if (bits[0] | bits[1]) {
i = STRTOG_Denormal;
+ ex = 1;
}
else {
b = buf;
OpenPOWER on IntegriCloud