mirror of
https://github.com/rm-dr/daisy
synced 2025-04-18 02:45:58 -07:00
Strict printing for powers
This commit is contained in:
parent
82b577568c
commit
dd9633d822
@ -108,8 +108,8 @@ impl Operator {
|
|||||||
Operator::Power => {
|
Operator::Power => {
|
||||||
return format!(
|
return format!(
|
||||||
"{}^{}",
|
"{}^{}",
|
||||||
self.add_parens_to_arg(&args[0]),
|
self.add_parens_to_arg_strict(&args[0]),
|
||||||
self.add_parens_to_arg(&args[1])
|
self.add_parens_to_arg_strict(&args[1])
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user