Article View: gnu.g++.bug
Article #1374math.g generated by fixincludes on hp730 8.07
From: John David Anglin
Date: Fri, 08 Jan 1993 22:36
Date: Fri, 08 Jan 1993 22:36
43 lines
1617 bytes
1617 bytes
I found the following changes to the math.h generated by fixincludes on
my hp730 running hpux 8.07 necessary to build libg++ 2.3:
# diff -c math.h.orig math.h
*** math.h.orig Thu Jan 7 15:23:43 1993
--- math.h Wed Dec 16 01:08:08 1992
***************
*** 30,43 ****
extern double log10(double);
extern double modf(double, double *);
extern double pow(double, double);
- # ifdef __cplusplus
- }
- inline double pow(double __d,int __expon) {
- return pow(__d,(double)__expon);
- }
- extern "C" {
- #else
- # endif
extern double sqrt(double);
extern double ceil(double);
extern double fabs(double);
--- 30,35 ----
***************
*** 182,188 ****
}
inline int sqr(int x) {return(x*x);} /* For AT&T compatibility */
inline double sqr(double x) {return(x*x);}
!
#endif
--- 174,181 ----
}
inline int sqr(int x) {return(x*x);} /* For AT&T compatibility */
inline double sqr(double x) {return(x*x);}
! #include <float.h>
! inline int isinf(double x) { return x > DBL_MAX || x < -DBL_MAX; }
#endif
Dave Anglin
National Research Council of Canada
Technical Details
Message-ID:
<9301082236.AA17365@life.ai.mit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!hiauly1.hia.nrc.ca!daveShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!hiauly1.hia.nrc.ca!dave From: dave@hiauly1.hia.nrc.ca (John David Anglin) Subject: math.g generated by fixincludes on hp730 8.07 Message-ID: <9301082236.AA17365@life.ai.mit.edu> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Fri, 8 Jan 1993 22:36:53 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 44