builtin-explog-1.c (PREC): Make it the same as PRECF if sizeof (float) > sizeof (double).

* gcc.dg/torture/builtin-explog-1.c (PREC): Make it the same
	as PRECF if sizeof (float) > sizeof (double).
	(PRECL): Make it the same as PRECF if
	sizeof (float) > sizeof (long double).

From-SVN: r78881
This commit is contained in:
Kazu Hirata 2004-03-04 02:57:05 +00:00 committed by Kazu Hirata
parent f20855d75d
commit 3ae3b78cf0
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2004-03-03 Kazu Hirata <kazu@cs.umass.edu>
* gcc.dg/torture/builtin-explog-1.c (PREC): Make it the same
as PRECF if sizeof (float) > sizeof (double).
(PRECL): Make it the same as PRECF if
sizeof (float) > sizeof (long double).
2004-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/builtins-config.h: Use underscore macro style for __sun

View File

@ -13,9 +13,10 @@
#define M_EF 2.7182818284590452353602874713526624977572470936999595749669676277241F
#define M_EL 2.7182818284590452353602874713526624977572470936999595749669676277241L
/* Precision for comparison tests. */
#define PREC 0.0000001
#define PREC (sizeof (float) < sizeof (double) ? 0.0000001 : PRECF)
#define PRECF 0.0001F
#define PRECL 0.0000000000001L
#define PRECL (sizeof (float) < sizeof (long double) \
? 0.0000000000001L : PRECF)
#define PROTOTYPE(FN) extern double FN(double); extern float FN##f(float); \
extern long double FN##l(long double);
#define PROTOTYPE2(FN) extern double FN(double, double); \