summaryrefslogtreecommitdiff
path: root/lib/libc/arch/sparc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-10-27 20:03:01 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-10-27 20:03:01 +0000
commit225137d131c37304b8cf51805e6eb0446fddfc30 (patch)
tree99dfc87a359e3b706b96eae92e38b4cbdb46870c /lib/libc/arch/sparc
parent4249b70b71ec740aea0b459273821f9b352f43ff (diff)
Repair FLT_ROUNDS operation. ok kettenis@
Diffstat (limited to 'lib/libc/arch/sparc')
-rw-r--r--lib/libc/arch/sparc/gen/flt_rounds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/arch/sparc/gen/flt_rounds.c b/lib/libc/arch/sparc/gen/flt_rounds.c
index 89658d0ed59..f471067bcb9 100644
--- a/lib/libc/arch/sparc/gen/flt_rounds.c
+++ b/lib/libc/arch/sparc/gen/flt_rounds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: flt_rounds.c,v 1.4 2005/08/07 16:40:15 espie Exp $ */
+/* $OpenBSD: flt_rounds.c,v 1.5 2007/10/27 20:02:59 miod Exp $ */
/*
* Written by J.T. Conklin, Apr 10, 1995
* Public domain.
@@ -10,8 +10,8 @@
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