Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Rename <sys/float_ieee.h> to <sys/float_ieee754.h>, followin...
details: https://anonhg.NetBSD.org/src/rev/43085f15d8f0
branches: trunk
changeset: 547076:43085f15d8f0
user: kleink <kleink%NetBSD.org@localhost>
date: Mon May 12 15:22:53 2003 +0000
description:
Rename <sys/float_ieee.h> to <sys/float_ieee754.h>, following libc's
convention for these.
diffstat:
distrib/sets/lists/comp/mi | 4 +-
distrib/sets/lists/comp/obsolete.mi | 3 +-
sys/arch/alpha/include/float.h | 4 +-
sys/arch/arm/include/float.h | 4 +-
sys/arch/m68k/include/float.h | 4 +-
sys/arch/mips/include/float.h | 4 +-
sys/arch/pc532/include/float.h | 4 +-
sys/arch/powerpc/include/float.h | 4 +-
sys/arch/sh3/include/float.h | 4 +-
sys/arch/sh5/include/float.h | 4 +-
sys/arch/sparc/include/float.h | 4 +-
sys/arch/sparc64/include/float.h | 4 +-
sys/arch/x86/include/float.h | 4 +-
sys/sys/Makefile | 4 +-
sys/sys/float_ieee.h | 104 ------------------------------------
sys/sys/float_ieee754.h | 104 ++++++++++++++++++++++++++++++++++++
16 files changed, 132 insertions(+), 131 deletions(-)
diffs (truncated from 387 to 300 lines):
diff -r 1e47679d1f45 -r 43085f15d8f0 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi Mon May 12 15:17:36 2003 +0000
+++ b/distrib/sets/lists/comp/mi Mon May 12 15:22:53 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.565 2003/05/08 07:30:20 uebayasi Exp $
+# $NetBSD: mi,v 1.566 2003/05/12 15:22:53 kleink Exp $
./usr/bin/addr2line comp-debug-bin
./usr/bin/ar comp-util-bin
./usr/bin/as comp-util-bin
@@ -741,7 +741,7 @@
./usr/include/sys/file.h comp-c-include
./usr/include/sys/filedesc.h comp-c-include
./usr/include/sys/filio.h comp-c-include
-./usr/include/sys/float_ieee.h comp-c-include
+./usr/include/sys/float_ieee754.h comp-c-include
./usr/include/sys/gmon.h comp-c-include
./usr/include/sys/hash.h comp-c-include
./usr/include/sys/inttypes.h comp-c-include
diff -r 1e47679d1f45 -r 43085f15d8f0 distrib/sets/lists/comp/obsolete.mi
--- a/distrib/sets/lists/comp/obsolete.mi Mon May 12 15:17:36 2003 +0000
+++ b/distrib/sets/lists/comp/obsolete.mi Mon May 12 15:22:53 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: obsolete.mi,v 1.88 2003/04/06 18:14:21 perry Exp $
+# $NetBSD: obsolete.mi,v 1.89 2003/05/12 15:22:53 kleink Exp $
./usr/bin/genclass
./usr/bin/gettextize
./usr/include/bfd
@@ -552,6 +552,7 @@
./usr/include/sys/bootinfo.h
./usr/include/sys/clist.h
./usr/include/sys/dmap.h
+./usr/include/sys/float_ieee.h
./usr/include/sys/fnv_hash.h
./usr/include/sys/map.h
./usr/include/sys/vcmd.h
diff -r 1e47679d1f45 -r 43085f15d8f0 sys/arch/alpha/include/float.h
--- a/sys/arch/alpha/include/float.h Mon May 12 15:17:36 2003 +0000
+++ b/sys/arch/alpha/include/float.h Mon May 12 15:22:53 2003 +0000
@@ -1,3 +1,3 @@
-/* $NetBSD: float.h,v 1.10 2003/04/19 23:05:28 christos Exp $ */
+/* $NetBSD: float.h,v 1.11 2003/05/12 15:22:54 kleink Exp $ */
-#include <sys/float_ieee.h>
+#include <sys/float_ieee754.h>
diff -r 1e47679d1f45 -r 43085f15d8f0 sys/arch/arm/include/float.h
--- a/sys/arch/arm/include/float.h Mon May 12 15:17:36 2003 +0000
+++ b/sys/arch/arm/include/float.h Mon May 12 15:22:53 2003 +0000
@@ -1,3 +1,3 @@
-/* $NetBSD: float.h,v 1.2 2003/04/19 23:05:29 christos Exp $ */
+/* $NetBSD: float.h,v 1.3 2003/05/12 15:22:54 kleink Exp $ */
-#include <sys/float_ieee.h>
+#include <sys/float_ieee754.h>
diff -r 1e47679d1f45 -r 43085f15d8f0 sys/arch/m68k/include/float.h
--- a/sys/arch/m68k/include/float.h Mon May 12 15:17:36 2003 +0000
+++ b/sys/arch/m68k/include/float.h Mon May 12 15:22:53 2003 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: float.h,v 1.15 2003/04/20 12:57:43 bjh21 Exp $ */
+/* $NetBSD: float.h,v 1.16 2003/05/12 15:22:54 kleink Exp $ */
#ifndef _M68K_FLOAT_H_
#define _M68K_FLOAT_H_
#define LDBL_MANT_DIG 64
-#include <sys/float_ieee.h>
+#include <sys/float_ieee754.h>
#endif /* !_M68K_FLOAT_H_ */
diff -r 1e47679d1f45 -r 43085f15d8f0 sys/arch/mips/include/float.h
--- a/sys/arch/mips/include/float.h Mon May 12 15:17:36 2003 +0000
+++ b/sys/arch/mips/include/float.h Mon May 12 15:22:53 2003 +0000
@@ -1,3 +1,3 @@
-/* $NetBSD: float.h,v 1.12 2003/04/19 23:05:31 christos Exp $ */
+/* $NetBSD: float.h,v 1.13 2003/05/12 15:22:54 kleink Exp $ */
-#include <sys/float_ieee.h>
+#include <sys/float_ieee754.h>
diff -r 1e47679d1f45 -r 43085f15d8f0 sys/arch/pc532/include/float.h
--- a/sys/arch/pc532/include/float.h Mon May 12 15:17:36 2003 +0000
+++ b/sys/arch/pc532/include/float.h Mon May 12 15:22:53 2003 +0000
@@ -1,3 +1,3 @@
-/* $NetBSD: float.h,v 1.10 2003/04/19 23:05:32 christos Exp $ */
+/* $NetBSD: float.h,v 1.11 2003/05/12 15:22:54 kleink Exp $ */
-#include <sys/float_ieee.h>
+#include <sys/float_ieee754.h>
diff -r 1e47679d1f45 -r 43085f15d8f0 sys/arch/powerpc/include/float.h
--- a/sys/arch/powerpc/include/float.h Mon May 12 15:17:36 2003 +0000
+++ b/sys/arch/powerpc/include/float.h Mon May 12 15:22:53 2003 +0000
@@ -1,3 +1,3 @@
-/* $NetBSD: float.h,v 1.5 2003/04/19 23:05:32 christos Exp $ */
+/* $NetBSD: float.h,v 1.6 2003/05/12 15:22:55 kleink Exp $ */
-#include <sys/float_ieee.h>
+#include <sys/float_ieee754.h>
diff -r 1e47679d1f45 -r 43085f15d8f0 sys/arch/sh3/include/float.h
--- a/sys/arch/sh3/include/float.h Mon May 12 15:17:36 2003 +0000
+++ b/sys/arch/sh3/include/float.h Mon May 12 15:22:53 2003 +0000
@@ -1,3 +1,3 @@
-/* $NetBSD: float.h,v 1.4 2003/04/19 23:05:32 christos Exp $ */
+/* $NetBSD: float.h,v 1.5 2003/05/12 15:22:55 kleink Exp $ */
-#include <sys/float_ieee.h>
+#include <sys/float_ieee754.h>
diff -r 1e47679d1f45 -r 43085f15d8f0 sys/arch/sh5/include/float.h
--- a/sys/arch/sh5/include/float.h Mon May 12 15:17:36 2003 +0000
+++ b/sys/arch/sh5/include/float.h Mon May 12 15:22:53 2003 +0000
@@ -1,3 +1,3 @@
-/* $NetBSD: float.h,v 1.2 2003/04/19 23:05:33 christos Exp $ */
+/* $NetBSD: float.h,v 1.3 2003/05/12 15:22:55 kleink Exp $ */
-#include <sys/float_ieee.h>
+#include <sys/float_ieee754.h>
diff -r 1e47679d1f45 -r 43085f15d8f0 sys/arch/sparc/include/float.h
--- a/sys/arch/sparc/include/float.h Mon May 12 15:17:36 2003 +0000
+++ b/sys/arch/sparc/include/float.h Mon May 12 15:22:53 2003 +0000
@@ -1,3 +1,3 @@
-/* $NetBSD: float.h,v 1.9 2003/04/19 23:05:33 christos Exp $ */
+/* $NetBSD: float.h,v 1.10 2003/05/12 15:22:55 kleink Exp $ */
-#include <sys/float_ieee.h>
+#include <sys/float_ieee754.h>
diff -r 1e47679d1f45 -r 43085f15d8f0 sys/arch/sparc64/include/float.h
--- a/sys/arch/sparc64/include/float.h Mon May 12 15:17:36 2003 +0000
+++ b/sys/arch/sparc64/include/float.h Mon May 12 15:22:53 2003 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: float.h,v 1.4 2003/04/19 23:05:33 christos Exp $ */
+/* $NetBSD: float.h,v 1.5 2003/05/12 15:22:56 kleink Exp $ */
#ifndef _SPARC64_FLOAT_H_
#define _SPARC64_FLOAT_H_
#define LDBL_MANT_DIG 113
-#include <sys/float_ieee.h>
+#include <sys/float_ieee754.h>
#endif /* _SPARC64_FLOAT_H_ */
diff -r 1e47679d1f45 -r 43085f15d8f0 sys/arch/x86/include/float.h
--- a/sys/arch/x86/include/float.h Mon May 12 15:17:36 2003 +0000
+++ b/sys/arch/x86/include/float.h Mon May 12 15:22:53 2003 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: float.h,v 1.3 2003/04/21 00:08:24 christos Exp $ */
+/* $NetBSD: float.h,v 1.4 2003/05/12 15:22:56 kleink Exp $ */
#ifndef _X86_FLOAT_H_
#define _X86_FLOAT_H_
#define LDBL_MANT_DIG 64
#define LDBL_MIN 3.3621031431120935063E-4932L
-#include <sys/float_ieee.h>
+#include <sys/float_ieee754.h>
#endif /* _X86_FLOAT_H_ */
diff -r 1e47679d1f45 -r 43085f15d8f0 sys/sys/Makefile
--- a/sys/sys/Makefile Mon May 12 15:17:36 2003 +0000
+++ b/sys/sys/Makefile Mon May 12 15:22:53 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2003/05/02 16:06:56 ragge Exp $
+# $NetBSD: Makefile,v 1.57 2003/05/12 15:22:56 kleink Exp $
INCSDIR= /usr/include/sys
@@ -11,7 +11,7 @@
endian.h envsys.h errno.h event.h exec.h exec_aout.h \
exec_coff.h exec_ecoff.h exec_elf.h exec_script.h extent.h \
fcntl.h fdio.h featuretest.h file.h filedesc.h filio.h \
- float_ieee.h gmon.h hash.h \
+ float_ieee754.h gmon.h hash.h \
inttypes.h ioccom.h ioctl.h ioctl_compat.h ipc.h \
kcore.h kernel.h kgdb.h ksem.h ksyms.h ktrace.h \
lkm.h localedef.h lock.h lockf.h lwp.h \
diff -r 1e47679d1f45 -r 43085f15d8f0 sys/sys/float_ieee.h
--- a/sys/sys/float_ieee.h Mon May 12 15:17:36 2003 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,104 +0,0 @@
-/* $NetBSD: float_ieee.h,v 1.2 2003/04/21 00:07:25 christos Exp $ */
-
-/*
- * Copyright (c) 1992, 1993
- * The Regents of the University of California. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * @(#)float.h 8.1 (Berkeley) 6/10/93
- */
-
-#ifndef _SYS_FLOAT_IEEE_H_
-#define _SYS_FLOAT_IEEE_H_
-
-#include <sys/cdefs.h>
-
-#ifndef FLT_ROUNDS
-__BEGIN_DECLS
-extern int __flt_rounds __P((void));
-__END_DECLS
-#define FLT_ROUNDS __flt_rounds()
-#endif
-
-#define FLT_RADIX 2 /* b */
-
-#define FLT_MANT_DIG 24 /* p */
-#define FLT_EPSILON 1.19209290E-7F /* b**(1-p) */
-#define FLT_DIG 6 /* floor((p-1)*log10(b))+(b == 10) */
-#define FLT_MIN_EXP (-125) /* emin */
-#define FLT_MIN 1.17549435E-38F /* b**(emin-1) */
-#define FLT_MIN_10_EXP (-37) /* ceil(log10(b**(emin-1))) */
-#define FLT_MAX_EXP 128 /* emax */
-#define FLT_MAX 3.40282347E+38F /* (1-b**(-p))*b**emax */
-#define FLT_MAX_10_EXP 38 /* floor(log10((1-b**(-p))*b**emax)) */
-
-#define DBL_MANT_DIG 53
-#define DBL_EPSILON 2.2204460492503131E-16
-#define DBL_DIG 15
-#define DBL_MIN_EXP (-1021)
-#define DBL_MIN 2.2250738585072014E-308
-#define DBL_MIN_10_EXP (-307)
-#define DBL_MAX_EXP 1024
-#define DBL_MAX 1.7976931348623157E+308
-#define DBL_MAX_10_EXP 308
-
-#ifndef LDBL_MANT_DIG
-#define LDBL_MANT_DIG DBL_MANT_DIG
-#define LDBL_EPSILON DBL_EPSILON
-#define LDBL_DIG DBL_DIG
-#define LDBL_MIN_EXP DBL_MIN_EXP
-#define LDBL_MIN DBL_MIN
-#define LDBL_MIN_10_EXP DBL_MIN_10_EXP
-#define LDBL_MAX_EXP DBL_MAX_EXP
-#define LDBL_MAX DBL_MAX
-#define LDBL_MAX_10_EXP DBL_MAX_10_EXP
-#elif LDBL_MANT_DIG == 64
-#define LDBL_EPSILON 1.0842021724855044340E-19L
-#define LDBL_DIG 18
-#define LDBL_MIN_EXP (-16381)
-#ifndef LDBL_MIN
-#define LDBL_MIN 1.6810515715560467531E-4932L
-#endif
-#define LDBL_MIN_10_EXP (-4931)
-#define LDBL_MAX_EXP 16384
-#define LDBL_MAX 1.1897314953572317650E+4932L
-#define LDBL_MAX_10_EXP 4932
-#elif LDBL_MANT_DIG == 113
-#define LDBL_EPSILON 1.925929944387235853055977942584927319E-34L
-#define LDBL_DIG 33
-#define LDBL_MIN_EXP (-16381)
-#define LDBL_MIN 3.3621031431120935062626778173217526026E-4932L
-#define LDBL_MIN_10_EXP (-4931)
-#define LDBL_MAX_EXP 16384
-#define LDBL_MAX 1.1897314953572317650857593266280070162E4932L
-#define LDBL_MAX_10_EXP 4932
-#endif /* LDBL_MANT_DIG */
-
-#endif /* _SYS_FLOAT_IEEE_H_ */
diff -r 1e47679d1f45 -r 43085f15d8f0 sys/sys/float_ieee754.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/sys/float_ieee754.h Mon May 12 15:22:53 2003 +0000
@@ -0,0 +1,104 @@
+/* $NetBSD: float_ieee754.h,v 1.1 2003/05/12 15:22:56 kleink Exp $ */
+
+/*
+ * Copyright (c) 1992, 1993
+ * The Regents of the University of California. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University of
Home |
Main Index |
Thread Index |
Old Index