'use strict';

// MODULES //

var floor = require( './cfloor.js' );


// MAIN //

/**
* Rounds a complex number toward negative infinity.
*
* @param {(Array|TypedArray|Object)} [out] - output array
* @param {number} re - real component
* @param {number} im - imaginary component
* @returns {(Array|TypedArray|Object)} rounded components
*
* @example
* var v = cfloor( -4.2, 5.5 );
* // returns [ -5.0, 5.0 ]
*
* @example
* var out = new Array( 2 );
*
* var v = cfloor( out, 9.99999, 0.1 );
* // returns [ 9.0, 0.0 ]
*
* var bool = ( v === out );
* // returns true
*
* @example
* var v = cfloor( out, 0.0, 0.0 );
* // returns [ 0.0, 0.0 ]
*
* @example
* var v = cfloor( out, NaN, NaN );
* // returns [ NaN, NaN ]
*/
function cfloor( out, re, im ) {
	if ( arguments.length === 2 ) {
		return floor( new Array( 2 ), out, re );
	}
	return floor( out, re, im );
} // end FUNCTION cfloor()


// EXPORTS //

module.exports = cfloor;

@@ -790,30 +790,28 @@
  floor( 
-new Array( 2 )
+%5B 0.0, 0.0 %5D
 , out, r

Provide an initialized array