mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
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