function validateRealFloating( value, dtype ) {
	if ( isNumber( value ) ) {
		return null;
	}
	if ( isComplexLike( value ) ) {
		return new TypeError( format( 'invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].', complexDataType( value ), dtype ) );
	}
	return new TypeError( format( 'invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].', typeof value, dtype ) );
}
Verifies whether a provided value can be safely assigned to an element in an array having a real-valued floating-point data type.

@private
@param {*} value - input value
@param {string} dtype - array data type
@returns {(Error|null)} error object or null

@example
var err = validateRealFloating( 3.14, 'float64' );
// returns null

@example
var Complex128 = require( '@stdlib/complex/float64/ctor' );

var err = validateRealFloating( new Complex128( 5.0, 6.0 ), 'float64' );
// returns <TypeError>