atan2.js 459 B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.atan2Docs = void 0;
  6. var atan2Docs = {
  7. name: 'atan2',
  8. category: 'Trigonometry',
  9. syntax: ['atan2(y, x)'],
  10. description: 'Computes the principal value of the arc tangent of y/x in radians.',
  11. examples: ['atan2(2, 2) / pi', 'angle = 60 deg in rad', 'x = cos(angle)', 'y = sin(angle)', 'atan2(y, x)'],
  12. seealso: ['sin', 'cos', 'tan']
  13. };
  14. exports.atan2Docs = atan2Docs;