Author: aandrejevic
Date: Thu May 21 00:44:49 2015
New Revision: 67839
URL:
http://svn.reactos.org/svn/reactos?rev=67839&view=rev
Log:
[FAST486]
Fix the broken math in r67838.
Modified:
trunk/reactos/lib/fast486/fpu.c
Modified: trunk/reactos/lib/fast486/fpu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/fpu.c?rev=6783…
==============================================================================
--- trunk/reactos/lib/fast486/fpu.c [iso-8859-1] (original)
+++ trunk/reactos/lib/fast486/fpu.c [iso-8859-1] Thu May 21 00:44:49 2015
@@ -747,9 +747,8 @@
}
else
{
- /* Lose the MSB */
- TempResult.Mantissa <<= 1;
- TempResult.Exponent--;
+ /* Reverse the mantissa */
+ TempResult.Mantissa = -(LONGLONG)TempResult.Mantissa;
}
}
}