function dmediansorted( N, x, strideX, offsetX ) {
	var n;
	var m;

	if ( N <= 0 ) {
		return NaN;
	}
	n = N / 2;
	m = floor( n );
	if ( n === m ) {
		// Even number of elements...
		return ( x[ offsetX+(m*strideX) ] + x[ offsetX+((m-1)*strideX) ] ) / 2.0; // eslint-disable-line max-len
	}
	// Odd number of elements...
	return x[ offsetX+(m*strideX) ];
}
Computes the median value of a sorted double-precision floating-point strided array.

@param {PositiveInteger} N - number of indexed elements
@param {Float64Array} x - sorted input array
@param {integer} strideX - stride length
@param {NonNegativeInteger} offsetX - starting index
@returns {number} median value

@example
var Float64Array = require( '@stdlib/array/float64' );

var x = new Float64Array( [ 2.0, -3.0, 2.0, -2.0, -2.0, 2.0, 3.0, 4.0 ] );

var v = dmediansorted( 4, x, 2, 1 );
// returns 0.0