Use "%#g" when disassembly floating point constants

- With "%g", there would be no decimal point if the number had no
  fractional part, making the output indistinguishable from integers.
This commit is contained in:
Randy Heit 2016-04-19 20:48:12 -05:00
parent 5d3e413d42
commit 05843d3b13
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ static int print_reg(FILE *out, int col, int arg, int mode, int immshift, const
case MODE_KF:
if (func != NULL)
{
return col+printf_wrapper(out, "%g", func->KonstF[arg]);
return col+printf_wrapper(out, "%#g", func->KonstF[arg]);
}
return col+printf_wrapper(out, "kf%d", arg);
case MODE_KS: