'use strict';

/**
* Evaluate the arctangent of the quotient of two numbers.
*
* @module @stdlib/math/base/special/atan2
*
* @example
* var v = atan2( 2.0, 2.0 ); // => atan( 1.0 )
* // returns ~0.785
*
* v = atan2( 6.0, 2.0 ); // => atan( 3.0 )
* // returns ~1.249
*
* v = atan2( -1.0, -1.0 ); // => atan( 1.0 ) - PI
* // returns ~-2.356
*
* v = atan2( 3.0, 0.0 ); => PI / 2
* // returns ~1.571
*
* v = atan2( -2.0, 0.0 ); => - PI / 2
* // returns ~-1.571
*
* v = atan2( 0.0, 0.0 );
* // returns 0.0
*
* v = atan2( 3.0, NaN );
* // returns NaN
*
* v = atan2( NaN, 2.0 );
* // returns NaN
*/

// MODULES //

var atan2 = require( './atan2.js' );


// EXPORTS //

module.exports = atan2;

'use strict';

/**
* Evaluate the arctangent of the quotient of two numbers.
*
* @module @stdlib/math/base/special/atan2
*
* @example
* var v = atan2( 2.0, 2.0 ); // => atan( 1.0 )
* // returns ~0.785
*
* v = atan2( 6.0, 2.0 ); // => atan( 3.0 )
* // returns ~1.249
*
* v = atan2( -1.0, -1.0 ); // => atan( 1.0 ) - PI
* // returns ~-2.356
*
* v = atan2( 3.0, 0.0 ); // => PI / 2
* // returns ~1.571
*
* v = atan2( -2.0, 0.0 ); // => - PI / 2
* // returns ~-1.571
*
* v = atan2( 0.0, 0.0 );
* // returns 0.0
*
* v = atan2( 3.0, NaN );
* // returns NaN
*
* v = atan2( NaN, 2.0 );
* // returns NaN
*/

// MODULES //

var atan2 = require( './atan2.js' );


// EXPORTS //

module.exports = atan2;

Comment out returned value annotations
Comment out returned value annotations