home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / g / lib / bug / 741 < prev    next >
Encoding:
Text File  |  1993-01-05  |  1.2 KB  |  33 lines

  1. Newsgroups: gnu.g++.lib.bug
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!kikka.hut.fi!apm
  3. From: apm@kikka.hut.fi (Antti Miettinen)
  4. Subject: libg++-2.3, IRIX 4.0.1, <math.h>
  5. Message-ID: <9301050245.AA03698@kikka.hut.fi>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Tue, 5 Jan 1993 06:45:08 GMT
  10. Approved: bug-lib-g++@prep.ai.mit.edu
  11. Lines: 20
  12.  
  13. Three minor things about libg++ math.h header file.
  14.  
  15. In libg++ math.h header there is a test for certain systems for which
  16. inline isinf() and isnan() functions are defined. I think sgi should
  17. be included in the test. SGI math library doesn't have isnan() or
  18. isinf() (or I can't just find them). Seems that in libg++ only dtoa()
  19. uses them and it is commented as obsolete so this may not be very
  20. important.
  21.  
  22. The SGI system headers define finite() to return int which conflicts
  23. with libg++ math.h double return value. I think this is just a typo in
  24. libg++ math.h. Shouldn't finite return int?
  25.  
  26. It would be nice if the libg++ math.h would include the system math.h
  27. so one could use functions defined there (like sinf(), cosf() etc)
  28. without hardcoding /usr/include to #include or explicitly declaring
  29. the protos.
  30.  
  31.  
  32.  
  33.