Fixed float printing

This commit is contained in:
2023-09-03 15:56:33 -07:00
parent 84ebf89d6f
commit 4353548900
3 changed files with 43 additions and 47 deletions

View File

@@ -131,7 +131,7 @@ fn operators() {
good_expr("125", "5^(+3)");
good_expr("125", "+5^3");
good_expr("0.2148", "3 ^ (-1.4)");
good_expr("0.21479", "3 ^ (-1.4)");
// Should parse as ((2^3)^4)^5
good_expr("1.1529e18", "2^3^4^5");