Commit 3ae3b78c by Kazu Hirata Committed by Kazu Hirata

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
parent f20855d7
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
......
......@@ -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); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment