libm: floorf() missing

Cedric Hombourger chombourger at gmail.com
Tue Jul 17 15:16:18 UTC 2007


Hi,

floorf() is apparently missing from libm. Grep'ing the source code of a
pretty recent checkout of uClibc, I have found an implementation in
libm/float_wrappers.c:

#ifdef L_floorf
libm_hidden_proto(floor)
float floorf (float x)
{
    return (float) floor( (double)x );
}
#endif

However L_floorf is never defined and I was wondering if it was not defined
on purpose? Is it safe to enable this code or should we have a different
implementation?

Regards,
Cedric Hombourger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20070717/877a73f2/attachment-0002.htm 


More information about the uClibc mailing list