Re: svn commit: r253215 - head/lib/msun/src

2013-07-30 Thread Steve Kargl
On Tue, Jul 30, 2013 at 12:02:23AM -0700, David Schultz wrote: > Fortran has its own problems and isn't very well supported. I take issue with the later assertion. Fortran is well support in GCC >4.6. See GCC list of front-end maintainers. :-) > But for what it's worth, C++ is actually a good

Re: svn commit: r253215 - head/lib/msun/src

2013-07-30 Thread David Schultz
On Mon, Jul 29, 2013, David Chisnall wrote: > On 29 Jul 2013, at 08:05, David Schultz wrote: > > > On Thu, Jul 11, 2013, David Chisnall wrote: > >> +static __inline int > >> +__inline_isnan(double __x) > >> +{ > >> + > >> + return (__x != __x); > >> +} > >> + > >> +static __inline int > >> +__in

Re: svn commit: r253215 - head/lib/msun/src

2013-07-29 Thread Bruce Evans
On Mon, 29 Jul 2013, David Schultz wrote: On Thu, Jul 11, 2013, David Chisnall wrote: +static __inline int +__inline_isnan(double __x) +{ + + return (__x != __x); +} + +static __inline int +__inline_isnanf(float __x) +{ + + return (__x != __x); +} + +static __inline int +__inline_is

Re: svn commit: r253215 - head/lib/msun/src

2013-07-29 Thread David Chisnall
On 29 Jul 2013, at 08:05, David Schultz wrote: > On Thu, Jul 11, 2013, David Chisnall wrote: >> +static __inline int >> +__inline_isnan(double __x) >> +{ >> + >> +return (__x != __x); >> +} >> + >> +static __inline int >> +__inline_isnanf(float __x) >> +{ >> + >> +return (__x != __x); >>

Re: svn commit: r253215 - head/lib/msun/src

2013-07-29 Thread David Schultz
On Thu, Jul 11, 2013, David Chisnall wrote: > +static __inline int > +__inline_isnan(double __x) > +{ > + > + return (__x != __x); > +} > + > +static __inline int > +__inline_isnanf(float __x) > +{ > + > + return (__x != __x); > +} > + > +static __inline int > +__inline_isnanl(long double _

Re: svn commit: r253215 - head/lib/msun/src

2013-07-13 Thread Bruce Evans
On Sat, 13 Jul 2013, Tijl Coosemans wrote: On 2013-07-12 11:14, Bruce Evans wrote: On Thu, 11 Jul 2013, Tijl Coosemans wrote: On 2013-07-11 22:03, Tijl Coosemans wrote: ... isnan(double) is part of SUSv2. It should be visible when compiling with -D_XOPEN_SOURCE=500. I think you need something

Re: svn commit: r253215 - head/lib/msun/src

2013-07-13 Thread Tijl Coosemans
On 2013-07-12 11:14, Bruce Evans wrote: > On Thu, 11 Jul 2013, Tijl Coosemans wrote: >> On 2013-07-11 22:03, Tijl Coosemans wrote: >>> On 2013-07-11 21:36, David Chisnall wrote: On 11 Jul 2013, at 19:52, Tijl Coosemans wrote: >> @@ -227,8 +250,6 @@ doubleexpm1(double); >> double

Re: svn commit: r253215 - head/lib/msun/src

2013-07-12 Thread Bruce Evans
On Thu, 11 Jul 2013, Tijl Coosemans wrote: On 2013-07-11 22:03, Tijl Coosemans wrote: On 2013-07-11 21:36, David Chisnall wrote: On 11 Jul 2013, at 19:52, Tijl Coosemans wrote: @@ -227,8 +250,6 @@ double expm1(double); double fma(double, double, double); double hypot(double, double);

Re: svn commit: r253215 - head/lib/msun/src

2013-07-12 Thread Bruce Evans
On Thu, 11 Jul 2013, David Chisnall wrote: On 11 Jul 2013, at 19:52, Tijl Coosemans wrote: GCC doesn't support _Generic yet for -std=c11. Ugh. Given that they also lack a fine-grained feature check mechanism, they really should not advertise support for a language dialect if they don't s

Re: svn commit: r253215 - head/lib/msun/src

2013-07-11 Thread Tijl Coosemans
On 2013-07-11 22:03, Tijl Coosemans wrote: > On 2013-07-11 21:36, David Chisnall wrote: >> On 11 Jul 2013, at 19:52, Tijl Coosemans wrote: @@ -227,8 +250,6 @@ double expm1(double); double fma(double, double, double); double hypot(double, double); intilogb(double

Re: svn commit: r253215 - head/lib/msun/src

2013-07-11 Thread Tijl Coosemans
On 2013-07-11 21:36, David Chisnall wrote: > On 11 Jul 2013, at 19:52, Tijl Coosemans wrote: >>> @@ -227,8 +250,6 @@ double expm1(double); >>> double fma(double, double, double); >>> double hypot(double, double); >>> int ilogb(double) __pure2; >>> -int(isinf)(double) __pure2; >>

Re: svn commit: r253215 - head/lib/msun/src

2013-07-11 Thread David Chisnall
On 11 Jul 2013, at 19:52, Tijl Coosemans wrote: > GCC doesn't support _Generic yet for -std=c11. Ugh. Given that they also lack a fine-grained feature check mechanism, they really should not advertise support for a language dialect if they don't support it. > >> +#elif __GNUC_PREREQ__(5, 1)

Re: svn commit: r253215 - head/lib/msun/src

2013-07-11 Thread Tijl Coosemans
On 2013-07-11 19:41, David Chisnall wrote: > Author: theraven > Date: Thu Jul 11 17:41:04 2013 > New Revision: 253215 > URL: http://svnweb.freebsd.org/changeset/base/253215 > > Log: > Cleanups to math.h that prevent namespace conflicts with C++. > > Reviewed by:bde > MFC after: 3