Skip to content

Commit 37aaf9d

Browse files
committed
Dump fastints as 123_F (not 123F) in debug prints
1 parent 22ac4dd commit 37aaf9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src-input/duk_debug_vsnprintf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ DUK_LOCAL void duk__print_tval(duk__dprint_state *st, duk_tval *tv) {
764764
case DUK_TAG_FASTINT:
765765
DUK_ASSERT(!DUK_TVAL_IS_UNUSED(tv));
766766
DUK_ASSERT(DUK_TVAL_IS_NUMBER(tv));
767-
duk_fb_sprintf(fb, "%.18gF", (double) DUK_TVAL_GET_NUMBER(tv));
767+
duk_fb_sprintf(fb, "%.18g_F", (double) DUK_TVAL_GET_NUMBER(tv));
768768
break;
769769
#endif
770770
default: {

0 commit comments

Comments
 (0)