Skip to content

Commit 5ba161c

Browse files
committed
Auto-generated commit
1 parent 8f70282 commit 5ba161c

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,7 @@ A total of 80 issues were closed in this release:
715715

716716
<details>
717717

718+
- [`dafbda6`](https://github.com/stdlib-js/stdlib/commit/dafbda6d3b1b782596f643582a90c842026688aa) - **chore:** update to use correct type and match README.md _(by Philipp Burckhardt)_
718719
- [`a068c72`](https://github.com/stdlib-js/stdlib/commit/a068c72880b9f3757d8b00ec945eb4e9cba31a8b) - **feat:** add `math/base/special/roundnf` [(#9389)](https://github.com/stdlib-js/stdlib/pull/9389) _(by Aman Singh, Karan Anand, Philipp Burckhardt, stdlib-bot)_
719720
- [`518339b`](https://github.com/stdlib-js/stdlib/commit/518339b9e202765284968c5bb40a458bf25c9425) - **chore:** remove extra empty line [(#9617)](https://github.com/stdlib-js/stdlib/pull/9617) _(by stdlib-bot)_
720721
- [`8e05341`](https://github.com/stdlib-js/stdlib/commit/8e0534149457bd04a06ae3c59d726191e32a1dcf) - **chore:** clean-up _(by Athan Reines)_

base/special/roundnf/examples/index.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ var uniform = require( '@stdlib/random/array/uniform' );
2323
var logEachMap = require( '@stdlib/console/log-each-map' );
2424
var roundnf = require( './../lib' );
2525

26-
var opts = {
26+
var x = uniform( 100, -50.0, 50.0, {
2727
'dtype': 'float32'
28-
};
29-
var x = uniform( 100, -50.0, 50.0, opts );
30-
var n = discreteUniform( 100, -5, 0, opts );
28+
});
29+
var n = discreteUniform( 100, -5, 0, {
30+
'dtype': 'int32'
31+
});
3132

3233
logEachMap( 'x: %0.4f. Number of decimals: %d. Rounded: %0.4f.', x, n, roundnf );

0 commit comments

Comments
 (0)