4.?bsd modf/fmod confusion (with fix)
Arthur David Olson
ado at elsie.UUCP
Wed Jan 8 01:21:42 AEST 1986
Index: include/math.h
Description:
The file "/usr/include/math.h" includes a declaration of the
function "fmod"; no such function appears in the math library.
The file "/usr/include/math.h" lacks a declaration of the
function "modf" which does appear in the math libray.
Repeat-By:
grep mod /usr/include/math.h
Fix:
This is the change to the 4.1bsd version of "/usr/include/math.h".
As usual, the trade secret status of the code involved precludes a
clearer posting.
#ifdef OLDVERSION
extern double fabs(), floor(), ceil(), fmod(), ldexp(), frexp();
#else
extern double fabs(), floor(), ceil(), modf(), ldexp(), frexp();
#endif
--
Bugs is a Warner Brothers trademark.
Mod is an Aaron Spelling Productions trademark.
--
UUCP: ..decvax!seismo!elsie!ado ARPA: elsie!ado at seismo.ARPA
DEC, VAX and Elsie are Digital Equipment and Borden trademarks
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list