Mail Archives: djgpp-workers/2003/08/01/10:22:42
--part1_180.1de5394e.2c5bd182_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
MartinS:
No need to send separate email to me, I am on the list for djgpp-workers.
In a message dated 8/1/2003 9:16:15 AM Eastern Standard Time,
ams AT ludd DOT luth DOT se writes:
> According to Kbwms AT aol DOT com:
> >
>
> -- Start of included mail From: Kbwms AT aol DOT com
>
>
> >Rich:
> >
> >The problems seems to be connected with math.h. Suggest you implement the
> >makefile change only since the change to qhead.h in subdirectory
> tgen/qfloat is
> >purely cosmetic. Later, we can implement the change to qhead.h.
> >
> >There is a conflict between ieeefp.h and math.h that involves a definition
> of
> >isnanf(). See line 76 in ieeefp.h and line 149 in math.h. The means that
> >the order of inclusion matters -- something that we are supposed to avoid
> >altogether.
>
> When my C99 isnan macro has been added the function can be
> removed. Its prototype can be changed to "#define isnanf(x) isnan(x)"
> if math.h is included (which might not be optimal).
>
At the moment, my solution is to add a simple #if defined statement in the
appropriate place.
> Kbwms, you might not know that I've been hacking on the macros
> fpclassify and is{nan,inf,normal,finite}.
>
Good for you. My attention is on the long double functions in C99, totally.
I have code for fpclassifyl() that you are welcome to.
KB Williams
--part1_180.1de5394e.2c5bd182_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">MartinS:<BR>
<BR>
No need to send separate email to me, I am on the list for djgpp-workers.<BR=
>
<BR>
In a message dated 8/1/2003 9:16:15 AM Eastern Standard Time, ams AT ludd DOT luth.=
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">According to Kbwms AT aol DOT com:<BR>
> <BR>
<BR>
-- Start of included mail From: Kbwms AT aol DOT com<BR>
<BR>
<BR>
>Rich:<BR>
><BR>
>The problems seems to be connected with math.h. Suggest you implem=
ent the <BR>
>makefile change only since the change to qhead.h in subdirectory tgen/qf=
loat is <BR>
>purely cosmetic. Later, we can implement the change to qhead.h.<BR=
>
><BR>
>There is a conflict between ieeefp.h and math.h that involves a definiti=
on of <BR>
>isnanf(). See line 76 in ieeefp.h and line 149 in math.h. Th=
e means that <BR>
>the order of inclusion matters -- something that we are supposed to avoi=
d <BR>
>altogether.<BR>
<BR>
When my C99 isnan macro has been added the function can be<BR>
removed. Its prototype can be changed to "#define isnanf(x) isnan(x)"<BR>
if math.h is included (which might not be optimal).<BR>
</BLOCKQUOTE></FONT><FONT COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #fff=
fff" SIZE=3D2 FAMILY=3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0"><BR>
<BR>
At the moment, my solution is to add a simple #if defined statement in the a=
ppropriate place.<BR>
</FONT><FONT COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D2=
FAMILY=3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0"><BR>
<BLOCKQUOTE TYPE=3DCITE style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT=
: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">Kbwms, you might not know that=20=
I've been hacking on the macros<BR>
fpclassify and is{nan,inf,normal,finite}.<BR>
</BLOCKQUOTE><BR>
<BR>
</FONT><FONT COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D3=
FAMILY=3D"SERIF" FACE=3D"Georgia" LANG=3D"0">Good for you. My attenti=
on is on the long double functions in C99, totally. I have code for fp=
classifyl() that you are welcome to.<BR>
<BR>
<BR>
KB Williams</FONT></HTML>
--part1_180.1de5394e.2c5bd182_boundary--
- Raw text -