Replace ^ with Math.pow function. Not made to work with braces.
Replaces ^ with Math.pow function call. This assumes all braces have been combined first. If you need help with the combination, I got you—try this Python algorithm:
def evaluate_braces(expr):
"""Recursively evaluate expressions within braces"""
Check if expression contains braces
if '(' in...
Submitted by Glitchii - https://github.com/Glitchii - 2 years ago (Last modified 2 years ago)