simple-squiggle

A restricted subset of Squiggle
Log | Files | Refs | README

atan2.js (459B)


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