X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fround.c;h=df6232d51311ff3ba362740284189262ea9ace68;hb=1056e42fdb8bb68c6afcdcb3a793558cae08ba44;hp=5758fb7c79c571d9f9e7c9d137fe2aa1955cf9d9;hpb=980d2709cea1e46299cb5b4f74f7c7a95d07ef06;p=gnulib.git diff --git a/lib/round.c b/lib/round.c index 5758fb7c7..df6232d51 100644 --- a/lib/round.c +++ b/lib/round.c @@ -30,7 +30,7 @@ # define DOUBLE long double # define MANT_DIG LDBL_MANT_DIG # define L_(literal) literal##L -# define HAVE_FLOOR_AND_CEIL (HAVE_DECL_FLOORL && HAVE_DECL_CEILL) +# define HAVE_FLOOR_AND_CEIL HAVE_FLOORL_AND_CEILL #elif ! defined USE_FLOAT # define ROUND round # define FLOOR floor @@ -46,7 +46,7 @@ # define DOUBLE float # define MANT_DIG FLT_MANT_DIG # define L_(literal) literal##f -# define HAVE_FLOOR_AND_CEIL (HAVE_DECL_FLOORF && HAVE_DECL_CEILF) +# define HAVE_FLOOR_AND_CEIL HAVE_FLOORF_AND_CEILF #endif /* If we're being included from test-round2[f].c, it already defined names for @@ -67,7 +67,7 @@ DOUBLE FLOOR_BASED_ROUND (DOUBLE x) { - if (x >= L_(0.0)) + if (x >= L_(0.0)) { DOUBLE y = FLOOR (x); if (x - y >= L_(0.5))