@stdlib/math-base-special-roundsd 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -1
- package/README.md +44 -2
- package/package.json +1 -1
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2022 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ limitations under the License.
|
|
|
20
20
|
|
|
21
21
|
# roundsd
|
|
22
22
|
|
|
23
|
-
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url]
|
|
23
|
+
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
|
|
24
24
|
|
|
25
25
|
> Round a numeric value to the nearest number with `n` significant figures.
|
|
26
26
|
|
|
@@ -99,6 +99,25 @@ for ( i = 0; i < 100; i++ ) {
|
|
|
99
99
|
|
|
100
100
|
<!-- /.examples -->
|
|
101
101
|
|
|
102
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
103
|
+
|
|
104
|
+
<section class="related">
|
|
105
|
+
|
|
106
|
+
* * *
|
|
107
|
+
|
|
108
|
+
## See Also
|
|
109
|
+
|
|
110
|
+
- <span class="package-name">[`@stdlib/math/base/special/ceilsd`][@stdlib/math/base/special/ceilsd]</span><span class="delimiter">: </span><span class="description">round a numeric value to the nearest number toward positive infinity with N significant figures.</span>
|
|
111
|
+
- <span class="package-name">[`@stdlib/math/base/special/floorsd`][@stdlib/math/base/special/floorsd]</span><span class="delimiter">: </span><span class="description">round a numeric value to the nearest number toward negative infinity with N significant figures.</span>
|
|
112
|
+
- <span class="package-name">[`@stdlib/math/base/special/round`][@stdlib/math/base/special/round]</span><span class="delimiter">: </span><span class="description">round a numeric value to the nearest integer.</span>
|
|
113
|
+
- <span class="package-name">[`@stdlib/math/base/special/truncsd`][@stdlib/math/base/special/truncsd]</span><span class="delimiter">: </span><span class="description">round a numeric value to the nearest number toward zero with N significant figures.</span>
|
|
114
|
+
|
|
115
|
+
</section>
|
|
116
|
+
|
|
117
|
+
<!-- /.related -->
|
|
118
|
+
|
|
119
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
120
|
+
|
|
102
121
|
|
|
103
122
|
<section class="main-repo" >
|
|
104
123
|
|
|
@@ -123,7 +142,7 @@ See [LICENSE][stdlib-license].
|
|
|
123
142
|
|
|
124
143
|
## Copyright
|
|
125
144
|
|
|
126
|
-
Copyright © 2016-
|
|
145
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
127
146
|
|
|
128
147
|
</section>
|
|
129
148
|
|
|
@@ -142,9 +161,20 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
142
161
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-special-roundsd/main.svg
|
|
143
162
|
[coverage-url]: https://codecov.io/github/stdlib-js/math-base-special-roundsd?branch=main
|
|
144
163
|
|
|
164
|
+
<!--
|
|
165
|
+
|
|
145
166
|
[dependencies-image]: https://img.shields.io/david/stdlib-js/math-base-special-roundsd.svg
|
|
146
167
|
[dependencies-url]: https://david-dm.org/stdlib-js/math-base-special-roundsd/main
|
|
147
168
|
|
|
169
|
+
-->
|
|
170
|
+
|
|
171
|
+
[umd]: https://github.com/umdjs/umd
|
|
172
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
173
|
+
|
|
174
|
+
[deno-url]: https://github.com/stdlib-js/math-base-special-roundsd/tree/deno
|
|
175
|
+
[umd-url]: https://github.com/stdlib-js/math-base-special-roundsd/tree/umd
|
|
176
|
+
[esm-url]: https://github.com/stdlib-js/math-base-special-roundsd/tree/esm
|
|
177
|
+
|
|
148
178
|
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
149
179
|
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
150
180
|
|
|
@@ -154,6 +184,18 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
154
184
|
|
|
155
185
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/math-base-special-roundsd/main/LICENSE
|
|
156
186
|
|
|
187
|
+
<!-- <related-links> -->
|
|
188
|
+
|
|
189
|
+
[@stdlib/math/base/special/ceilsd]: https://www.npmjs.com/package/@stdlib/math-base-special-ceilsd
|
|
190
|
+
|
|
191
|
+
[@stdlib/math/base/special/floorsd]: https://www.npmjs.com/package/@stdlib/math-base-special-floorsd
|
|
192
|
+
|
|
193
|
+
[@stdlib/math/base/special/round]: https://www.npmjs.com/package/@stdlib/math-base-special-round
|
|
194
|
+
|
|
195
|
+
[@stdlib/math/base/special/truncsd]: https://www.npmjs.com/package/@stdlib/math-base-special-truncsd
|
|
196
|
+
|
|
197
|
+
<!-- </related-links> -->
|
|
198
|
+
|
|
157
199
|
</section>
|
|
158
200
|
|
|
159
201
|
<!-- /.links -->
|