delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/08/01/10:22:42

From: Kbwms AT aol DOT com
Message-ID: <180.1de5394e.2c5bd182@aol.com>
Date: Fri, 1 Aug 2003 10:21:54 EDT
Subject: Re: Changes to Files in Archive djtst203.zip
To: djgpp-workers AT delorie DOT com
MIME-Version: 1.0
X-Mailer: 8.0 for Windows sub 6011
Reply-To: djgpp-workers AT delorie DOT com

--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>
&gt; <BR>
<BR>
-- Start of included mail From:&nbsp; Kbwms AT aol DOT com<BR>
<BR>
<BR>
&gt;Rich:<BR>
&gt;<BR>
&gt;The problems seems to be connected with math.h.&nbsp; Suggest you implem=
ent the <BR>
&gt;makefile change only since the change to qhead.h in subdirectory tgen/qf=
loat is <BR>
&gt;purely cosmetic.&nbsp; Later, we can implement the change to qhead.h.<BR=
>
&gt;<BR>
&gt;There is a conflict between ieeefp.h and math.h that involves a definiti=
on of <BR>
&gt;isnanf().&nbsp; See line 76 in ieeefp.h and line 149 in math.h.&nbsp; Th=
e means that <BR>
&gt;the order of inclusion matters -- something that we are supposed to avoi=
d <BR>
&gt;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.&nbsp; My attenti=
on is on the long double functions in C99, totally.&nbsp; 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019