[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r679 - in /trunk/libc: ./ sysdeps/alpha/bits/ sysdeps/powerpc/bits/ sysdeps/sh/sh4/bits/ sysdeps/sparc/bits/
- To: commits@xxxxxxxxxx
- Subject: [commits] r679 - in /trunk/libc: ./ sysdeps/alpha/bits/ sysdeps/powerpc/bits/ sysdeps/sh/sh4/bits/ sysdeps/sparc/bits/
- From: joseph@xxxxxxxxxx
- Date: Mon, 13 Nov 2006 16:47:37 -0000
Author: joseph
Date: Mon Nov 13 08:47:37 2006
New Revision: 679
Log:
* sysdeps/alpha/bits/mathdef.h (float_t): Always define as float.
* sysdeps/powerpc/bits/mathdef.h: Likewise.
* sysdeps/sh/sh4/bits/mathdef.h: Likewise.
* sysdeps/sparc/bits/mathdef.h: Likewise.
Modified:
trunk/libc/ChangeLog.eglibc
trunk/libc/sysdeps/alpha/bits/mathdef.h
trunk/libc/sysdeps/powerpc/bits/mathdef.h
trunk/libc/sysdeps/sh/sh4/bits/mathdef.h
trunk/libc/sysdeps/sparc/bits/mathdef.h
Modified: trunk/libc/ChangeLog.eglibc
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Mon Nov 13 08:47:37 2006
@@ -1,3 +1,10 @@
+2006-11-13 Joseph S. Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/alpha/bits/mathdef.h (float_t): Always define as float.
+ * sysdeps/powerpc/bits/mathdef.h: Likewise.
+ * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
+ * sysdeps/sparc/bits/mathdef.h: Likewise.
+
2006-11-09 Steven Munroe <sjmunroe@xxxxxxxxxx>
Joe Kerian <jkerian@xxxxxxxxxxxxx>
=
Modified: trunk/libc/sysdeps/alpha/bits/mathdef.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/libc/sysdeps/alpha/bits/mathdef.h (original)
+++ trunk/libc/sysdeps/alpha/bits/mathdef.h Mon Nov 13 08:47:37 2006
@@ -27,27 +27,9 @@
#if defined __USE_ISOC99 && defined _MATH_H && !defined _MATH_H_MATHDEF
# define _MATH_H_MATHDEF 1
=
-# ifdef __GNUC__
-# if __STDC__ =3D=3D 1
-
-/* In GNU or ANSI mode, gcc leaves `float' expressions as-is. */
+/* Alpha has both `float' and `double' arithmetic. */
typedef float float_t;
typedef double double_t;
-
-# else
-
-/* For `gcc -traditional', `float' expressions are evaluated as `double'. =
*/
-typedef double float_t;
-typedef double double_t;
-
-# endif
-# else
-
-/* Wild guess at types for float_t and double_t. */
-typedef double float_t;
-typedef double double_t;
-
-# endif
=
/* The values returned by `ilogb' for 0 and NaN respectively. */
# define FP_ILOGB0 (-2147483647)
Modified: trunk/libc/sysdeps/powerpc/bits/mathdef.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/libc/sysdeps/powerpc/bits/mathdef.h (original)
+++ trunk/libc/sysdeps/powerpc/bits/mathdef.h Mon Nov 13 08:47:37 2006
@@ -31,31 +31,9 @@
#if defined __USE_ISOC99 && defined _MATH_H && !defined _MATH_H_MATHDEF
# define _MATH_H_MATHDEF 1
=
-# ifdef __GNUC__
-# if __STDC__ =3D=3D 1
-
-/* In GNU or ANSI mode, gcc leaves `float' expressions as-is. */
-typedef float float_t; /* `float' expressions are evaluated as
- `float'. */
-typedef double double_t; /* `double' expressions are evaluated as
- `double'. */
-
-# else
-
-/* For `gcc -traditional', `float' expressions are evaluated as `double'. =
*/
-typedef double float_t; /* `float' expressions are evaluated as
- `double'. */
-typedef double double_t; /* `double' expressions are evaluated as
- `double'. */
-
-# endif
-# else
-
-/* Wild guess at types for float_t and double_t. */
-typedef double float_t;
+/* PowerPC has both `float' and `double' arithmetic. */
+typedef float float_t;
typedef double double_t;
-
-# endif
=
/* The values returned by `ilogb' for 0 and NaN respectively. */
# define FP_ILOGB0 (-2147483647)
Modified: trunk/libc/sysdeps/sh/sh4/bits/mathdef.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/libc/sysdeps/sh/sh4/bits/mathdef.h (original)
+++ trunk/libc/sysdeps/sh/sh4/bits/mathdef.h Mon Nov 13 08:47:37 2006
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999, 2000, 2004 Free Software Foundation, In=
c.
+/* Copyright (C) 1997,1998,1999,2000,2004,2006 Free Software Foundation, I=
nc.
This file is part of the GNU C Library.
=
The GNU C Library is free software; you can redistribute it and/or
@@ -30,31 +30,9 @@
#if defined __USE_ISOC99 && defined _MATH_H && !defined _MATH_H_MATHDEF
# define _MATH_H_MATHDEF 1
=
-# ifdef __GNUC__
-# if __STDC__ =3D=3D 1
-
-/* In GNU or ANSI mode, gcc leaves `float' expressions as-is. */
-typedef float float_t; /* `float' expressions are evaluated as
- `float'. */
-typedef double double_t; /* `double' expressions are evaluated as
- `double'. */
-
-# else
-
-/* For `gcc -traditional', `float' expressions are evaluated as `double'. =
*/
-typedef double float_t; /* `float' expressions are evaluated as
- `double'. */
-typedef double double_t; /* `double' expressions are evaluated as
- `double'. */
-
-# endif
-# else
-
-/* Wild guess at types for float_t and double_t. */
-typedef double float_t;
+/* SH has both `float' and `double' arithmetic. */
+typedef float float_t;
typedef double double_t;
-
-# endif
=
/* The values returned by `ilogb' for 0 and NaN respectively. */
# define FP_ILOGB0 0x80000001
Modified: trunk/libc/sysdeps/sparc/bits/mathdef.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/libc/sysdeps/sparc/bits/mathdef.h (original)
+++ trunk/libc/sysdeps/sparc/bits/mathdef.h Mon Nov 13 08:47:37 2006
@@ -29,27 +29,9 @@
#if defined __USE_ISOC99 && defined _MATH_H && !defined _MATH_H_MATHDEF
# define _MATH_H_MATHDEF 1
=
-# ifdef __GNUC__
-# if __STDC__ =3D=3D 1
-
-/* In GNU or ANSI mode, gcc leaves `float' expressions as-is. */
+/* SPARC has both `float' and `double' arithmetic. */
typedef float float_t;
typedef double double_t;
-
-# else
-
-/* For `gcc -traditional', `float' expressions are evaluated as `double'. =
*/
-typedef double float_t;
-typedef double double_t;
-
-# endif
-# else
-
-/* Wild guess at types for float_t and double_t. */
-typedef double float_t;
-typedef double double_t;
-
-# endif
=
/* The values returned by `ilogb' for 0 and NaN respectively. */
# define FP_ILOGB0 (-2147483647)