Bug#215260: /usr/include/math.h: No prototype for roundf()
Package: libc6-dev
Version: 2.3.2-7
Severity: normal
File: /usr/include/math.h
libm.so.6 has a roundf() function:
johan@foo:~$ nm -D /lib/libm.so.6|grep roundf
00013180 W llroundf
000130e0 W lroundf
00011630 W roundf
It is documented on the roundf(3) man page:
johan@foo:~$ dpkg -S /usr/share/man/man3/roundf.3.gz
manpages-dev: /usr/share/man/man3/roundf.3.gz
But it has no prototype:
johan@foo:~$ grep roundf /usr/include/ -r
grep: warning: /usr/include/gnome-xml/libxml: recursive directory loop
johan@foo:~$ echo $?
1
This goes for truncf() and probably some other functions as well, but
roundf() and truncf() are the ones I care about.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux foo 2.4.20-3-686 #1 Sun May 18 20:26:19 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages libc6-dev depends on:
ii libc6 2.3.2-7 GNU C Library: Shared libraries an
-- no debconf information
Reply to: