summaryrefslogtreecommitdiffstats
path: root/lib/libc/sparc64
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2005-01-18 15:29:28 +0000
committerdas <das@FreeBSD.org>2005-01-18 15:29:28 +0000
commit906c1e9b6fd5c96336d557874223c74fbee7a378 (patch)
tree509507d0932c7eeaa5ba88ca551006e138ec3e34 /lib/libc/sparc64
parent038ca13cb7f5445f7485c8c5bef12d58c0a7b92a (diff)
downloadFreeBSD-src-906c1e9b6fd5c96336d557874223c74fbee7a378.zip
FreeBSD-src-906c1e9b6fd5c96336d557874223c74fbee7a378.tar.gz
Correct the values of FLT_ROUNDS for the FE_UPWARD and FE_DOWNWARD cases.
Diffstat (limited to 'lib/libc/sparc64')
-rw-r--r--lib/libc/sparc64/gen/flt_rounds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sparc64/gen/flt_rounds.c b/lib/libc/sparc64/gen/flt_rounds.c
index b0b7dde..706ef5a 100644
--- a/lib/libc/sparc64/gen/flt_rounds.c
+++ b/lib/libc/sparc64/gen/flt_rounds.c
@@ -12,8 +12,8 @@ __FBSDID("$FreeBSD$");
static const int map[] = {
1, /* round to nearest */
0, /* round to zero */
- 3, /* round to negative infinity */
- 2 /* round to positive infinity */
+ 2, /* round to positive infinity */
+ 3 /* round to negative infinity */
};
int
OpenPOWER on IntegriCloud