summaryrefslogtreecommitdiff
path: root/lib/libc/arch/m88k/gen/flt_rounds.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/m88k/gen/flt_rounds.c')
-rw-r--r--lib/libc/arch/m88k/gen/flt_rounds.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/lib/libc/arch/m88k/gen/flt_rounds.c b/lib/libc/arch/m88k/gen/flt_rounds.c
index c3f6e4f2c58..c821bea75c2 100644
--- a/lib/libc/arch/m88k/gen/flt_rounds.c
+++ b/lib/libc/arch/m88k/gen/flt_rounds.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: flt_rounds.c,v 1.2 2003/01/07 21:59:49 miod Exp $ */
+
/*
* Written by J.T. Conklin, Apr 10, 1995
* Public domain.
@@ -6,15 +8,19 @@
#include <sys/types.h>
#include <machine/float.h>
+#if defined(LIBC_SCCS) && !defined(lint)
+static char rcsid[] = "$OpenBSD: flt_rounds.c,v 1.2 2003/01/07 21:59:49 miod Exp $";
+#endif /* LIBC_SCCS and not lint */
+
/*
* Ported to 88k (Nivas Madhur)
*/
static const int map[] = {
- 0, /* round to nearest */
- 1, /* round to zero */
- 2, /* round to negative infinity */
- 3 /* round to positive infinity */
+ 1, /* round to nearest */
+ 0, /* round to zero */
+ 3, /* round to negative infinity */
+ 2 /* round to positive infinity */
};
int