[comp.unix.i386] Bug in ISC <math.h> include file

MAH@awiwuw11.wu-wien.ac.at (Michael Haberler) (08/27/90)

The ANSI declaration for fmod() in /usr/include/math.h looks
broken to me; the manual says fmod takes two doubles as arguments
but the declaration in <math.h> reads

double  fmod(double);

instead of

double  fmod(double,double);


Am I missing something?


-michael

hb@vpnet.chi.il.us (hank barta) (08/29/90)

The entry in math.h for SCO is:

extern double fmod( double x, double y);