Mail Archives: djgpp-workers/2003/09/30/10:31:05
--part1_1e4.10a8dd0f.2caaed7f_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
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.
KB Williams
--part1_1e4.10a8dd0f.2caaed7f_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<HTML><FONT FACE=3Darial,helvetica><FONT SIZE=3D3 FAMILY=3D"SERIF" FACE=3D"=
Georgia" LANG=3D"0">In a message dated 9/30/2003 9:00:40 AM Eastern Standard=
Time, Martin DOT Stromberg AT epl DOT ericsson DOT se writes:<BR>
<BR>
<BLOCKQUOTE TYPE=3DCITE style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT=
: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px"></FONT><FONT COLOR=3D"#000000"=
style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D2 FAMILY=3D"SANSSERIF" FACE=3D"A=
rial" LANG=3D"0">>+#define isgreater(x,y) &n=
bsp; __builtin_isgreater(x,y)<BR>
>+#define isgreaterequal(x,y) __builtin_isgreater=
equal(x,y)<BR>
...<BR>
<BR>
I'm not sure but this doesn't look to me like an implementation but a<BR>
definite not implemented here.<BR>
</BLOCKQUOTE><BR>
</FONT><FONT COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D3=
FAMILY=3D"SERIF" FACE=3D"Georgia" LANG=3D"0"><BR>
These macros satisfy requirements of C99 and are described in the info file=20=
for GCC as follows:<BR>
<BR>
GCC provides built-in versions of the ISO C99 floating point<BR=
>
comparison macros that avoid raising exceptions for unordered operands.<BR>
They have the same names as the standard macros ( `isgreater',<BR>
`isgreaterequal', `isless', `islessequal', `islessgreater', and<BR>
`isunordered') , with `__builtin_' prefixed. We intend for a library<B=
R>
implementor to be able to simply `#define' each standard macro to its<BR>
built-in equivalent.<BR>
<BR>
<BR>
KB Williams</FONT></HTML>
--part1_1e4.10a8dd0f.2caaed7f_boundary--
- Raw text -