Mail Archives: djgpp-workers/2003/08/31/17:04:27
--part1_2f.3e4624a3.2c83bcd8_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
In a message dated 8/31/2003 2:24:16 PM Eastern Standard Time,
eliz AT elta DOT co DOT il writes:
>
> >double erf(double);
> >double erfc(double);
> >double gamma(double);
> >[...]
> >float lgammaf_r(float, int *);
Functions erf() and erfc() are C9x but the name "gamma" in libm is a
misnomer. It is actually a synonym for lgamma. User beware.
>
> If any of these are defined by ANSI C9x or by Posix, their prototype
> should be moved to the __STRICT_ANSI__ or POSIX sections of the
> header.
>
> >extern long double acoshl (long double);
> >extern long double acosl (long double);
>
Okay.
> Same here: these are defined by C9x.
>
> Thanks again for working on this.
>
You're welcome.
KB Williams
--part1_2f.3e4624a3.2c83bcd8_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/31/2003 2:24:16 PM Eastern Standard=
Time, eliz AT elta DOT co DOT il 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>
>double erf(double);<BR>
>double erfc(double);<BR>
>double gamma(double);<BR>
>[...]<BR>
>float lgammaf_r(float, int *);</BLOCKQUOTE></FONT><FONT COLOR=3D"#00000=
0" style=3D"BACKGROUND-COLOR: #ffffff" 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"><BR>
Functions erf() and erfc() are C9x but the name "gamma" in libm is a misnome=
r. It is actually a synonym for lgamma. User beware.</FONT><FONT=
COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D2 FAMILY=3D"S=
ANSSERIF" 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"><BR>
If any of these are defined by ANSI C9x or by Posix, their prototype<BR>
should be moved to the __STRICT_ANSI__ or POSIX sections of the<BR>
header.<BR>
<BR>
>extern long double acoshl (lon=
g double);<BR>
>extern long double acosl (long=
double);<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>
</FONT><FONT COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D3=
FAMILY=3D"SERIF" FACE=3D"Georgia" LANG=3D"0">Okay.<BR>
</FONT><FONT COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D2=
FAMILY=3D"SANSSERIF" 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">Same here: these are defined by=
C9x.<BR>
<BR>
Thanks again for working on this.<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>
You're welcome.<BR>
<BR>
<BR>
KB Williams</FONT></HTML>
--part1_2f.3e4624a3.2c83bcd8_boundary--
- Raw text -