Mail Archives: djgpp-workers/2003/09/30/11:26:32
> In a message dated 9/30/2003 9:00:40 AM Eastern Standard Time,
> Martin DOT Stromberg AT epl DOT ericsson DOT se writes:
>
> > >+#define isgreater(x,y) __builtin_isgreater(x,y)
> > >+#define isgreaterequal(x,y) __builtin_isgreaterequal(x,y)
> > ...
> >
> > I'm not sure but this doesn't look to me like an implementation but a
> > definite not implemented here.
> >
>
> These macros satisfy requirements of C99 and are described in the info file
> for GCC as follows:
>
> GCC provides built-in versions of the ISO C99 floating point
> comparison macros that avoid raising exceptions for unordered operands.
> They have the same names as the standard macros ( `isgreater',
> `isgreaterequal', `isless', `islessequal', `islessgreater', and
> `isunordered') , with `__builtin_' prefixed. We intend for a library
> implementor to be able to simply `#define' each standard macro to its
> built-in equivalent.
That's nice. And how about gcc 2.95 that existed before C99?
Right,
MartinS
- Raw text -