We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e82178c commit af67bc0Copy full SHA for af67bc0
lib/node_modules/@stdlib/math/base/special/trunc/examples/index.js
@@ -18,11 +18,11 @@
18
19
'use strict';
20
21
-var uniform = require( '@stdlib/random/array/uniform' );
+var randu = require( '@stdlib/random/array/uniform' );
22
var trunc = require( './../lib' );
23
24
var i;
25
-var x = uniform( 100, -50.0, 50.0 );
+var x = randu( 100, -50.0, 50.0 );
26
27
for ( i = 0; i < x.length; i++ ) {
28
console.log( 'trunc(%d) = %d', x[ i ], trunc( x[ i ] ) );
0 commit comments