Math::RPN::Simple - Simpler implementation of Math::RPN.
Version 1.1.3
Math::RPN::Simple is used to convert infix and postfix notations and to evaluate them.
expression - Postfix expression to convert.
return value - Infix representation of expression.
expression - Infix expression to convert.
return value - Postfix representation of expression.
expression - Infix expression to evaluate.
return value - Value of infix expression.
expression - Postfix expression to evaluate.
return value - Value of postfix expression.
x+y - Sum of x and y.
x-y - Difference of x and y.
x*y - Product of x and y.
x/y - Quotient of x and y
x**y - x to the power of y.
abs(x) - Returns absolute value of x.
int(x) - Returns int representation of x.
cos(x) - Returns cos of x.
sin(x) - Returns sin of x.
Please report any bugs here:
debos@cpan.org
GitHub
Discord: DeBos#3292
Reddit
Michał Wróblewski <debos@cpan.org>
Copyright (c) 2019 Michał Wróblewski
This project is licensed under the MIT License - see the LICENSE file for details.
To install Math::RPN::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Math::RPN::Simple
CPAN shell
perl -MCPAN -e shell install Math::RPN::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.