old_contents: 'use strict';
  
  // MODULES //
  
  var bench = require( '@stdlib/bench' );
  var isnan = require( '@stdlib/math/base/assert/is-nan' );
  var pkg = require( './../package.json' ).name;
  var randu = require( './../lib' );
  
  
  // MAIN //
  
  bench( pkg, function benchmark( b ) {
  	var z;
  	var i;
  
  	b.tic();
  	for ( i = 0; i < b.iterations; i++ ) {
  		z = randu();
  		if ( isnan( z ) ) {
  			b.fail( 'should not return NaN' );
  		}
  	}
  	b.toc();
  	if ( isnan( z ) ) {
  		b.fail( 'should not return NaN' );
  	}
  	b.pass( 'benchmark finished' );
  	b.end();
  });
  
new_contents: 'use strict';
  
  // MODULES //
  
  var bench = require( '@stdlib/bench' );
  var isnan = require( '@stdlib/math/base/assert/is-nan' );
  var pkg = require( './../package.json' ).name;
  var randu = require( './../lib' );
  
  
  // MAIN //
  
  bench( pkg, function benchmark( b ) {
  	var z;
  	var i;
  
  	b.tic();
  	for ( i = 0; i < b.iterations; i++ ) {
  		z = randu();
  		if ( isnan( z ) ) {
  			b.fail( 'should not return NaN' );
  		}
  	}
  	b.toc();
  	if ( isnan( z ) ) {
  		b.fail( 'should not return NaN' );
  	}
  	b.pass( 'benchmark finished' );
  	b.end();
  });
  
  bench( pkg+'::built-in', function benchmark( b ) {
  	var z;
  	var i;
  
  	b.tic();
  	for ( i = 0; i < b.iterations; i++ ) {
  		z = Math.random();
  		if ( isnan( z ) ) {
  			b.fail( 'should not return NaN' );
  		}
  	}
  	b.toc();
  	if ( isnan( z ) ) {
  		b.fail( 'should not return NaN' );
  	}
  	b.pass( 'benchmark finished' );
  	b.end();
  });
  
subject: Add benchmark for built-in