delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/11/09/11:33:54

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
From: Kbwms AT aol DOT com
Message-ID: <17.3ed6c7e8.2cdfc65f@aol.com>
Date: Sun, 9 Nov 2003 11:33:35 EST
Subject: Re: C99 Functions Under Development and Checkout
To: djgpp-workers AT delorie DOT com
MIME-Version: 1.0
X-Mailer: 8.0 for Windows sub 6021
Reply-To: djgpp-workers AT delorie DOT com

--part1_17.3ed6c7e8.2cdfc65f_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

In a message dated 11/9/2003 5:10:17 AM Eastern Standard Time, 
rich AT phekda DOT freeserve DOT co DOT uk writes:

> Thereafter, it cannot be
> >reset; any attempt to do so at runtime either by resetting the global
> >variable or by calling set_math_errhandling() again will fail.  
> 
> It won't fail. The change will just be ignored. E.g.:
> 
>   some_maths_function();
>   math_errhandling = MATH_ERRNO;
> 

That doesn't change the permanent setting of math_errhandling, maintained in 
errhndlr.o.  Indeed, the next call to any math function that uses one of the 
functions in errhndlr.o will cause the contents of math_errhandling to be 
replaced by its original value.

--part1_17.3ed6c7e8.2cdfc65f_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 11/9/2003 5:10:17 AM Eastern Standard=
 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">Thereafter, it cannot be<BR>
&gt;reset; any attempt to do so at runtime either by resetting the global<BR=
>
&gt;variable or by calling set_math_errhandling() again will fail.&nbsp; <BR=
>
<BR>
It won't fail. The change will just be ignored. E.g.:<BR>
<BR>
&nbsp; some_maths_function();<BR>
&nbsp; math_errhandling =3D MATH_ERRNO;<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>
That doesn't change the permanent setting of math_errhandling, maintained in=
 errhndlr.o.&nbsp; Indeed, the next call to any math function that uses one=20=
of the functions in errhndlr.o will cause the contents of math_errhandling t=
o be replaced by its original value.</FONT></HTML>

--part1_17.3ed6c7e8.2cdfc65f_boundary--

- Raw text -


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