Closed Kunwar-Yuvraj closed 4 months ago
1^1 should be 1. If you treat '^' as power operator, but its coming 0, so maybe it is XOR operator. But change it to power operator.
thanks for finding it out. it has been patched though for some complex expressions with Multiple exponents is currently returning wrong result in Prefix Evaluator #17
1^1 should be 1. If you treat '^' as power operator, but its coming 0, so maybe it is XOR operator. But change it to power operator.