mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-05-28 17:41:37 +00:00
Fix debug FAC output
This commit is contained in:
parent
341fd567dd
commit
513ab099e7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user