atan2 - Compact Version Vanilla Version: https://scratch.mit.edu/projects/92135084/
This is the compact version of my latest atan2 - I'm using a an old trick to avoid using any if-statements, but I don't know if this makes it faster... It certainly isn't easy to read! ;-) Update 2015-DEC-21: Added check for avoiding division by zero, even though Scratch seems to support this by returning +/-Infinity. This makes it possible to only do addition, when putting together the Cartesian angle. Update 2015-DEC-20: Thanks to @WO997 for giving me the chance to learn something new and revise my code. Update 2015-DEC-19: Inspired by @chooper100 to compress the code even more!