Date: Wed, 12 Jun 2002 20:00:15 -0700 (PDT) From: Bruce Evans <bde@zeta.org.au> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/38170: fpgetmask, fpsetmask yield strange results Message-ID: <200206130300.g5D30FH75461@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/38170; it has been noted by GNATS.
From: Bruce Evans <bde@zeta.org.au>
To: Andreas Haakh <ah@haakh.de>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/38170: fpgetmask, fpsetmask yield strange results
Date: Thu, 13 Jun 2002 12:57:19 +1000 (EST)
On Wed, 12 Jun 2002, Andreas Haakh wrote:
> From: "Bruce Evans" <bde@zeta.org.au>
> > fpsetmask() is fixed in -current. The complement of the mask (ANDed with
> > the mask bitfield) was being returned. The other routines seem to be OK.
>
> Is it already MFC'd or when will this happen?
MFC scheduled after 4 weeks.
> There should be a note in fpsetask(3) that FP_X_STK is reserved...
It's read-only, but very unportable. Most of <floatingpoint.h> and
<ieeefp.h> hould be undocumented and replaced by the C99 feset*().
There is nothing standard to replace fp{get,set}mask() since setting
masks is unportable, so FreeBSD will need unportable extensions.
Bruce
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206130300.g5D30FH75461>
