Two comments:
From $temp == $val, you cannot conclude that there is no solution, unless you explicitly assume that we have a linear equation, ie a straight line.
If you would calculate the slope from the first two values, you can guess quite well where the solution is, especially for a linear equation.
In reply to Re^2: Reverse Polish Notation Question
by hdb
in thread RPN Question
by nat47
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |