From 8f759e142b2785012497ff19ebb85071c95dc65e Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 7 Jan 2003 21:59:50 +0000 Subject: Get the rounding modes table correct, eventually. --- lib/libc/arch/m88k/gen/flt_rounds.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'lib/libc/arch/m88k/gen/flt_rounds.c') 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 #include +#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 -- cgit v1.2.3