Crate g_calc

Source
Expand description

§g_calc

g_calc is a small utility to make performing calculations more convenient.

Functions§

convert
Converts the given string slice input to post-fix expression and returns a Result type of String and static error message
priority
Checks the priority of the operator and returns appropriate value
solve
solves the postfix expression and returns the result