summaryrefslogtreecommitdiffstats
path: root/contrib/gdtoa
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2005-01-18 18:56:18 +0000
committerdas <das@FreeBSD.org>2005-01-18 18:56:18 +0000
commitbc257052e5c79d9d5c5340d8024e92d03a039bae (patch)
tree7b70d64af9490693aaafe09c7373ff21069b0057 /contrib/gdtoa
parentd515c9d41c1445e3dfd050f8b3275acbcdce016d (diff)
downloadFreeBSD-src-bc257052e5c79d9d5c5340d8024e92d03a039bae.zip
FreeBSD-src-bc257052e5c79d9d5c5340d8024e92d03a039bae.tar.gz
Configure gdtoa so that floating-point numbers are correctly rounded
when they are printed in non-default rounding modes.
Diffstat (limited to 'contrib/gdtoa')
-rw-r--r--contrib/gdtoa/gdtoaimp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/gdtoa/gdtoaimp.h b/contrib/gdtoa/gdtoaimp.h
index 0c4a936..143c2ce 100644
--- a/contrib/gdtoa/gdtoaimp.h
+++ b/contrib/gdtoa/gdtoaimp.h
@@ -207,6 +207,7 @@ extern Char *MALLOC ANSI((size_t));
#define INFNAN_CHECK
#define USE_LOCALE
+#define Honor_FLT_ROUNDS
#undef IEEE_Arith
#undef Avoid_Underflow
OpenPOWER on IntegriCloud