From: Bob Hood Subject: Re: Missing rint()? To: mcastle AT umr DOT edu Date: Wed, 7 Sep 94 17:17:42 MDT Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Mailer: Elm [revision: 70.85.2.1] > Amazingly enough DJ Delorie said: > > There are function that are in math.h yet are not defined in libm.a in > > djgpp. If you want them in there, you'll have to write or find > > sources that are public domain that I can add to libm.a. > > > A few years ago I subscribed to a 386users email discussion list, > then moderated by Bill Davidson (hope I spelled his last name > right), who was then also moderating comp.binaries.ibm.pc. Someone > posted a complete archive for a freely distributable math lib > which I successfully used to get some functions that were missing > from the then current djgpp (namely modf(), which I think ws in > the next version of djgpp itself). I'm sure there is an archive > somewhere that has that post, and rint() might be a part of that > library. > > It also appears that the missing fuction is availabe under Linux. > I don't have sources online, however, nor time to get them. > Perhaps someone who has both Linux and djgpp installed could > compare the libraries, and figure out which functions are > missing. > I have both systems on the same hard drive, but am performing my current development in an MS-DOS environment. I did find the source I needed in the GNU distribution of glibc, but I'm not sure how difficult it will be to include in DJ's port. Thanks for the replies. I think I'm on the right track now. Regards, \\/// Bob `(o o)' -------------------------------oOO--(_)--OOo------------------------------- Bob Hood | C++: The language where | rhood AT nyx DOT cs DOT du DOT edu Home: 303-980-8392 | only friends can access | rbh AT evolving DOT com (BARS) Work: 303-689-[2409]| your private members... | 72672 DOT 3244 AT compuserve DOT com ---------------------------------------------------------------------------