forked from GitHub/gf-core
when printing floating literals use %lg instead of %lf for better output
This commit is contained in:
@@ -944,7 +944,7 @@ pgf_print_literal(PgfLiteral lit,
|
||||
}
|
||||
case PGF_LITERAL_FLT: {
|
||||
PgfLiteralFlt* lit = ei.data;
|
||||
gu_printf(out, err, "%lf", lit->val);
|
||||
gu_printf(out, err, "%lg", lit->val);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user