This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/5] Refactor bug-strtod.c to better test new types.


On Mon, 16 May 2016, Paul E. Murphy wrote:

> +	  FTOSTR (fcntstr, sizeof(fstr), "%" FTOSTRM "g", (FTYPE)cnt);\

Missing space in cast, should be "(FTYPE) cnt".

> +#define STRTOD_TEST_FOREACH(mfunc, ...)	  \
> +({ static int result = 0;		  \

I don't see any good reason for result to be static here.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]