[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [6050] fp: add floatXX_is_infinity(), floatXX_is_neg(),
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [6050] fp: add floatXX_is_infinity(), floatXX_is_neg(), floatXX_is_zero() |
Date: |
Thu, 18 Dec 2008 23:54:20 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Thu, Dec 18, 2008 at 04:15:10PM +0100, Laurent Desnogues wrote:
> On Mon, Dec 15, 2008 at 6:14 PM, Aurelien Jarno <address@hidden> wrote:
> > Revision: 6050
> > http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6050
> > Author: aurel32
> > Date: 2008-12-15 17:14:20 +0000 (Mon, 15 Dec 2008)
> >
> > Log Message:
> > -----------
> > fp: add floatXX_is_infinity(), floatXX_is_neg(), floatXX_is_zero()
> >
> > Signed-off-by: Aurelien Jarno <address@hidden>
> [...]
> > Modified: trunk/fpu/softfloat.h
> > ===================================================================
> > --- trunk/fpu/softfloat.h 2008-12-15 17:14:12 UTC (rev 6049)
> > +++ trunk/fpu/softfloat.h 2008-12-15 17:14:20 UTC (rev 6050)
> > @@ -281,6 +281,21 @@
> > return make_float32(float32_val(a) ^ 0x80000000);
> > }
> >
> > +INLINE int float32_is_infinity(float32 a)
> > +{
> > + return (float32_val(a) & 0x7fffffff) == 0x7ff80000;
>
> This should be == 0x7f800000.
>
Thanks, I have fixed this in revision 6088.
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' address@hidden | address@hidden
`- people.debian.org/~aurel32 | www.aurel32.net
- [Qemu-devel] [6050] fp: add floatXX_is_infinity(), floatXX_is_neg(), floatXX_is_zero(), Aurelien Jarno, 2008/12/15
- Re: [Qemu-devel] [6050] fp: add floatXX_is_infinity(), floatXX_is_neg(), floatXX_is_zero(), Andreas Färber, 2008/12/15
- Re: [Qemu-devel] [6050] fp: add floatXX_is_infinity(), floatXX_is_neg(), floatXX_is_zero(), Laurent Desnogues, 2008/12/18
- Re: [Qemu-devel] [6050] fp: add floatXX_is_infinity(), floatXX_is_neg(), floatXX_is_zero(),
Aurelien Jarno <=