No fallback print support for floats in KRK_NO_FLOAT

This commit is contained in:
K. Lange 2023-05-30 09:26:26 +09:00
parent 7c4d622d8a
commit b88267c828

View File

@ -84,7 +84,9 @@ void krk_printValueSafe(FILE * f, KrkValue printable) {
break;
}
default:
#ifndef KRK_NO_FLOAT
if (IS_FLOATING(printable)) fprintf(f, "%.16g", AS_FLOATING(printable));
#endif
break;
}
} else if (IS_STRING(printable)) {