'use strict';

/**
* Typed array constructor which returns a typed array representing an array of double-precision floating-point numbers in the platform byte order.
*
* @module @stdlib/array/float64
*
* @example
* var ctor = require( '@stdlib/array/float64' );
*
* var arr = new ctor( 10 );
* // returns <Float64Array>
*/

// MODULES //

var hasFloat64ArraySupport = require( '@stdlib/utils/detect-float64array-support' );


// MAIN //

var ctor;
if ( hasFloat64ArraySupport() ) {
	ctor = require( './float64array.js' );
} else {
	ctor = require( './polyfill.js' );
}


// EXPORTS //

module.exports = ctor;

@@ -417,16 +417,105 @@
 ort' );%0A
+var builtin = require( './float64array.js' );%0Avar polyfill = require( './polyfill.js' );%0A
 %0A%0A// MAI
@@ -576,38 +576,15 @@
 r = 
-require( './float64array.js' )
+builtin
 ;%0A%7D 
@@ -598,36 +598,24 @@
 %09ctor = 
-require( './
 polyfill
 .js' );%0A
@@ -606,22 +606,16 @@
 polyfill
-.js' )
 ;%0A%7D%0A%0A%0A//

Refactor to avoid dynamic module resolution