Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/regress/lib/libc/ieeefp/testfloat/include use fp_rnd type a ...



details:   https://anonhg.NetBSD.org/src/rev/5529b4cff045
branches:  trunk
changeset: 507453:5529b4cff045
user:      ross <ross%NetBSD.org@localhost>
date:      Thu Mar 22 12:08:59 2001 +0000

description:
use fp_rnd type a bit, also do std multiple inclusion prot

diffstat:

 regress/lib/libc/ieeefp/testfloat/include/systmodes.h |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r a01c1b20f595 -r 5529b4cff045 regress/lib/libc/ieeefp/testfloat/include/systmodes.h
--- a/regress/lib/libc/ieeefp/testfloat/include/systmodes.h     Thu Mar 22 12:05:36 2001 +0000
+++ b/regress/lib/libc/ieeefp/testfloat/include/systmodes.h     Thu Mar 22 12:08:59 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: systmodes.h,v 1.2 2001/03/13 07:49:33 ross Exp $ */
+/* $NetBSD: systmodes.h,v 1.3 2001/03/22 12:08:59 ross Exp $ */
 
 /* This is a derivative work. */
 
@@ -62,6 +62,9 @@
 ===============================================================================
 */
 
+#ifndef _SYSTMODES_H_
+#define _SYSTMODES_H_
+
 /*
 -------------------------------------------------------------------------------
 Target-specific function for setting the system's IEC/IEEE floating-point
@@ -69,7 +72,10 @@
 example, exception trapping may be disabled).
 -------------------------------------------------------------------------------
 */
-void syst_float_set_rounding_mode( int8 );
+
+#include <ieeefp.h>
+
+void syst_float_set_rounding_mode( fp_rnd );
 
 /*
 -------------------------------------------------------------------------------
@@ -79,3 +85,4 @@
 */
 void syst_float_set_rounding_precision( int8 );
 
+#endif /* !_SYSTMODES_H_*/



Home | Main Index | Thread Index | Old Index