On 11/04/2013 07:34 AM, Michael
Goffioul wrote:
11/4/13
jwe,
Aside from performance, does using gnulib::frexp solve the original
problem? The gnulib documentation is somewhat minimal and they
suggest that they only replace an existing library function if the
function is buggy. Otherwise, they fall back on the library version
that is available. This may be, however, only when you use the bare
function such as 'frexp' rather than the namespace-qualified version
'gnulib::frexp'. So one possibility might be to just use the bare
word frexp in the code and let gnulib figure out whether it is a
broken version or whether it can use the one from glibc. The other
solution would be to put in our own #ifdefs and use gnulib::frexp on
MSVC, MinGW and frexp everywhere else.
--Rik
|