Fix debug FAC output

This commit is contained in:
michaelangel007 2023-06-03 11:03:58 -07:00
parent 341fd567dd
commit 513ab099e7

View File

@ -566,7 +566,7 @@ void FormatNopcodeBytes(WORD nBaseAddress, DisasmLine_t& line_)
else
{
const double f = fac.mantissa * pow( 2.0, fac.exponent - 32 );
//std::string sFac = StrFormat( "s%1X m%04X e%08X", fac.negative, fac.mantissa, fac.exponent );
//std::string sFac = StrFormat( "s%1X m%08X e%02X", fac.negative, fac.mantissa, fac.exponent & 0xFF );
// 2.9.1.23: Show floating-point values in scientific notation.
std::string sFac = StrFormat( "%c%e", aSign[ fac.negative ], f );
if ((pDst + sFac.length()) < pEnd)