|
-
Nov 8th, 2023, 11:43 AM
#1
Re: Expression Calculator
 Originally Posted by 2kaud
For users, I would document the operator precedence. Consider:
[highest to lowest]
brackets
unary +, -
^ (right to left)
<implied multiplication>
*, - (left to right)
binary +, - (left to right)
FWIW there is a method in the class that returns all operators / functions and precedence.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|