- Fixed arithmetic semantics. Making it more Windows compatible.
authorJames Tabor <james.tabor@reactos.org>
Thu, 24 May 2007 01:39:31 +0000 (01:39 +0000)
committerJames Tabor <james.tabor@reactos.org>
Thu, 24 May 2007 01:39:31 +0000 (01:39 +0000)
commit9f2630ccceb3544ebacc81253b8ad88595e2ba49
treef6308978816cd68680fdaf9a50fc0f7045eef577
parent8b7099f2cd28f87875406b9c851debeaa7000baf
- Fixed arithmetic semantics. Making it more Windows compatible.
- This example work now.
double F2F(PFLOATOBJ f)
{
 if(SIGN(f->ul1)) // negate mant
   return (double) -(-f->ul1 * pow(2,(double)f->ul2-32));
 else return (double) f->ul1 * pow(2,(double)f->ul2-32);
}

svn path=/trunk/; revision=26877
reactos/dll/win32/gdi32/objects/painting.c
reactos/subsystems/win32/win32k/eng/float.c