angles.js
function(sin, cos) {

      var s = this['SCALE'];
      var angle = (1 + Math.acos(cos) / TAU) * s;

      if (sin < 0) {
        angle = s - angle;
      }
      return mod(angle, s);
    }
function(sin, cos) {

      var s = this['SCALE'];
      var angle = (1 + Math.acos(cos) / TAU) * s;

      if (sin < 0) {
        angle = s - angle;
      }
      return mod(angle, s);
    }
function ( sin , cos ) { var s = this [ 'SCALE' ] ; var angle = ( 1 + Math . acos ( cos ) / TAU ) * s ; if ( sin < 0 ) { angle = s - angle ; } return mod ( angle , s ) ; }
Given the sine and cosine of an angle, what is the original angle?

@param {number} sin
@param {number} cos
@returns {number}
Given the sine and cosine of an angle what is the original angle?