summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%google.com <devnull@localhost>2011-03-23 23:15:23 +0000
committerwtc%google.com <devnull@localhost>2011-03-23 23:15:23 +0000
commitedb244e72cab674daef338915259a494feb1fb1c (patch)
tree3a3f7e6cbe69b0f9a06472f6f2377bd35a8103f6
parent110c0c0512d41f8c745b831657442c00e4de0360 (diff)
downloadnspr-hg-NSPR_4_8_8_BETA2.tar.gz
Bug 482002: Update dtoa.c from http://www.netlib.org/fp/dtoa.c datedNSPR_4_8_8_BETA2
20110321. Note: the date 20110403 in the previous checkin was indeed a typo for 20110304.
-rw-r--r--pr/src/misc/dtoa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pr/src/misc/dtoa.c b/pr/src/misc/dtoa.c
index 7cef033f..d957f5d2 100644
--- a/pr/src/misc/dtoa.c
+++ b/pr/src/misc/dtoa.c
@@ -70,7 +70,8 @@
* #define IBM for IBM mainframe-style floating-point arithmetic.
* #define VAX for VAX-style floating-point arithmetic (D_floating).
* #define No_leftright to omit left-right logic in fast floating-point
- * computation of dtoa.
+ * computation of dtoa. This will cause dtoa modes 4 and 5 to be
+ * treated the same as modes 2 and 3 for some inputs.
* #define Honor_FLT_ROUNDS if FLT_ROUNDS can assume the values 2 or 3
* and strtod and dtoa should round accordingly. Unless Trust_FLT_ROUNDS
* is also #defined, fegetround() will be queried for the rounding mode.