delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/11/18/07:32:33

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
From: Kbwms AT aol DOT com
Message-ID: <7b.1cd667f3.2ceb6b21@aol.com>
Date: Tue, 18 Nov 2003 07:31:29 EST
Subject: Re: math_errhandling [PATCH]
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_7b.1cd667f3.2ceb6b21_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

In a message dated 11/18/2003 1:00:22 AM Eastern Standard Time, 
eliz AT elta DOT co DOT il writes:

> Personally, I don't like very much the idea of fiddling with the x87
> status and control bits for implementing the fe* functions.  I think
> we should _read_ those bits and put them into the values those
> function return, but we should not _write_ the bits.
> 
> In other words, feraiseexcept should add bits to some word it
> maintains internally, but not in the x87 status word.
> 

But, that's precisely what _control87() does -- it sets the bits in the 
status word.  The fact that the fe* functions exist doesn't imply that a user has 
to use them any more than does the existence of the _*87() functions.

--part1_7b.1cd667f3.2ceb6b21_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/18/2003 1:00:22 AM Eastern Standar=
d 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">Personally, I don't like very much the idea of fiddling wit=
h the x87<BR>
status and control bits for implementing the fe* functions.&nbsp; I think<BR=
>
we should _read_ those bits and put them into the values those<BR>
function return, but we should not _write_ the bits.<BR>
<BR>
In other words, feraiseexcept should add bits to some word it<BR>
maintains internally, but not in the x87 status word.<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>
But, that's precisely what _control87() does -- it sets the bits in the stat=
us word.&nbsp; The fact that the fe* functions exist doesn't imply that a us=
er has to use them any more than does the existence of the _*87() functions.=
</FONT></HTML>

--part1_7b.1cd667f3.2ceb6b21_boundary--

- Raw text -


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