Flip the arguments to the math functions.
Add a #branch function.