Thread View: gnu.g++.lib.bug
2 messages
2 total messages
Started by Antti Miettinen
Tue, 05 Jan 1993 06:45
libg++-2.3, IRIX 4.0.1, <math.h>
Author: Antti Miettinen
Date: Tue, 05 Jan 1993 06:45
Date: Tue, 05 Jan 1993 06:45
17 lines
1235 bytes
1235 bytes
Three minor things about libg++ math.h header file. In libg++ math.h header there is a test for certain systems for which inline isinf() and isnan() functions are defined. I think sgi should be included in the test. SGI math library doesn't have isnan() or isinf() (or I can't just find them). Seems that in libg++ only dtoa() uses them and it is commented as obsolete so this may not be very important. The SGI system headers define finite() to return int which conflicts with libg++ math.h double return value. I think this is just a typo in libg++ math.h. Shouldn't finite return int? It would be nice if the libg++ math.h would include the system math.h so one could use functions defined there (like sinf(), cosf() etc) without hardcoding /usr/include to #include or explicitly declaring the protos.
Re: libg++-2.3, IRIX 4.0.1, <math.h>
Author: bothner
Date: Mon, 04 Jan 1993 14:48
Date: Mon, 04 Jan 1993 14:48
14 lines
954 bytes
954 bytes
> The SGI system headers define finite() to return int which conflicts > with libg++ math.h double return value. I think this is just a typo in > libg++ math.h. Shouldn't finite return int? I agree. > It would be nice if the libg++ math.h would include the system math.h The plan is the libg++/g++-incldue will go away in favor of auatmatically generated wrappers (except for old systems without prototypes in the system headers). --Per Bothner Cygnus Support bothner@cygnus.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads