atan2.js 327 B

12345678
  1. export var atan2Docs = {
  2. name: 'atan2',
  3. category: 'Trigonometry',
  4. syntax: ['atan2(y, x)'],
  5. description: 'Computes the principal value of the arc tangent of y/x in radians.',
  6. examples: ['atan2(2, 2) / pi', 'angle = 60 deg in rad', 'x = cos(angle)', 'y = sin(angle)', 'atan2(y, x)'],
  7. seealso: ['sin', 'cos', 'tan']
  8. };