delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/08/30/11:19:07

From: Kbwms AT aol DOT com
Message-ID: <76.316d94d8.2c821a60@aol.com>
Date: Sat, 30 Aug 2003 11:18:56 EDT
Subject: Re: <math.h> and <libm/math.h>
To: djgpp-workers AT delorie DOT com
MIME-Version: 1.0
X-Mailer: 8.0 for Windows sub 6015
Reply-To: djgpp-workers AT delorie DOT com

--part1_76.316d94d8.2c821a60_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

In a message dated 8/30/2003 11:10:07 AM Eastern Standard Time, 
rich AT phekda DOT freeserve DOT co DOT uk writes:

> 
> I think we can assume standard C for DJGPP. This __F() stuff is horrible.
> 

It is messy, no argument there.  My latest version of the macro that makes up 
this stuff does what you want.  I'll send a new version of the prototypes.

> But if you want to keep it, you could use __P() from <sys/cdefs.h>. This is
> what <libm/math.h> uses at the moment.
> 
> Why don't we move everything from <libm/math.h> into <math.h> and make
> <libm/math.h> just include <math.h>? I know people have suggested doing it 
> the
> other way round, but this way seems to make more sense to me. <math.h> will
> then be the One True Header for maths.
> 

I'm surprised this hasn't been tried.


KB Williams

--part1_76.316d94d8.2c821a60_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 8/30/2003 11:10:07 AM Eastern Standar=
d Time, rich AT phekda DOT freeserve DOT co DOT uk 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"><BR>
I think we can assume standard C for DJGPP. This __F() stuff is horrible.<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>
</FONT><FONT  COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D3=
 FAMILY=3D"SERIF" FACE=3D"Georgia" LANG=3D"0">It is messy, no argument there=
.&nbsp; My latest version of the macro that makes up this stuff does what yo=
u want.&nbsp; I'll send a new version of the prototypes.</FONT><FONT  COLOR=
=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D2 FAMILY=3D"SANSSERI=
F" FACE=3D"Arial" LANG=3D"0"><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">But if you want to keep it, you=
 could use __P() from &lt;sys/cdefs.h&gt;. This is<BR>
what &lt;libm/math.h&gt; uses at the moment.<BR>
<BR>
Why don't we move everything from &lt;libm/math.h&gt; into &lt;math.h&gt; an=
d make<BR>
&lt;libm/math.h&gt; just include &lt;math.h&gt;? I know people have suggeste=
d doing it the<BR>
other way round, but this way seems to make more sense to me. &lt;math.h&gt;=
 will<BR>
then be the One True Header for maths.<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>
I'm surprised this hasn't been tried.<BR>
<BR>
<BR>
KB Williams</FONT></HTML>

--part1_76.316d94d8.2c821a60_boundary--

- Raw text -


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