

I use vscode because I do a lot of embedded.
Used to be that you had to jump through some hoops to make it work - make your own makefiles and stuff. Now, all the major vendors of MCUs are starting to develop vscode plugins as their “IDE” instead of those horrible ultramodified eclipse installs.
Simple, really. Abs(x-y) is the difference between the two numbers, absolute, so positive value. So, adding abs(x-y) to the smaller of the two numbers turns it into the bigger number. Plus the bigger number, now you have 2 times the bigger number