@stdlib/math-base-special-round2 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
|
# round2
|
|
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 power of two on a linear scale.
|
|
26
26
|
|
|
@@ -113,6 +113,25 @@ for ( i = 0; i < 100; i++ ) {
|
|
|
113
113
|
|
|
114
114
|
<!-- /.examples -->
|
|
115
115
|
|
|
116
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
117
|
+
|
|
118
|
+
<section class="related">
|
|
119
|
+
|
|
120
|
+
* * *
|
|
121
|
+
|
|
122
|
+
## See Also
|
|
123
|
+
|
|
124
|
+
- <span class="package-name">[`@stdlib/math/base/special/ceil2`][@stdlib/math/base/special/ceil2]</span><span class="delimiter">: </span><span class="description">round a numeric value to the nearest power of two toward positive infinity.</span>
|
|
125
|
+
- <span class="package-name">[`@stdlib/math/base/special/floor2`][@stdlib/math/base/special/floor2]</span><span class="delimiter">: </span><span class="description">round a numeric value to the nearest power of two toward negative infinity.</span>
|
|
126
|
+
- <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>
|
|
127
|
+
- <span class="package-name">[`@stdlib/math/base/special/round10`][@stdlib/math/base/special/round10]</span><span class="delimiter">: </span><span class="description">round a numeric value to the nearest power of 10 on a linear scale.</span>
|
|
128
|
+
|
|
129
|
+
</section>
|
|
130
|
+
|
|
131
|
+
<!-- /.related -->
|
|
132
|
+
|
|
133
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
134
|
+
|
|
116
135
|
|
|
117
136
|
<section class="main-repo" >
|
|
118
137
|
|
|
@@ -137,7 +156,7 @@ See [LICENSE][stdlib-license].
|
|
|
137
156
|
|
|
138
157
|
## Copyright
|
|
139
158
|
|
|
140
|
-
Copyright © 2016-
|
|
159
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
141
160
|
|
|
142
161
|
</section>
|
|
143
162
|
|
|
@@ -156,9 +175,20 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
156
175
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-special-round2/main.svg
|
|
157
176
|
[coverage-url]: https://codecov.io/github/stdlib-js/math-base-special-round2?branch=main
|
|
158
177
|
|
|
178
|
+
<!--
|
|
179
|
+
|
|
159
180
|
[dependencies-image]: https://img.shields.io/david/stdlib-js/math-base-special-round2.svg
|
|
160
181
|
[dependencies-url]: https://david-dm.org/stdlib-js/math-base-special-round2/main
|
|
161
182
|
|
|
183
|
+
-->
|
|
184
|
+
|
|
185
|
+
[umd]: https://github.com/umdjs/umd
|
|
186
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
187
|
+
|
|
188
|
+
[deno-url]: https://github.com/stdlib-js/math-base-special-round2/tree/deno
|
|
189
|
+
[umd-url]: https://github.com/stdlib-js/math-base-special-round2/tree/umd
|
|
190
|
+
[esm-url]: https://github.com/stdlib-js/math-base-special-round2/tree/esm
|
|
191
|
+
|
|
162
192
|
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
163
193
|
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
164
194
|
|
|
@@ -168,6 +198,18 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
168
198
|
|
|
169
199
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/math-base-special-round2/main/LICENSE
|
|
170
200
|
|
|
201
|
+
<!-- <related-links> -->
|
|
202
|
+
|
|
203
|
+
[@stdlib/math/base/special/ceil2]: https://www.npmjs.com/package/@stdlib/math-base-special-ceil2
|
|
204
|
+
|
|
205
|
+
[@stdlib/math/base/special/floor2]: https://www.npmjs.com/package/@stdlib/math-base-special-floor2
|
|
206
|
+
|
|
207
|
+
[@stdlib/math/base/special/round]: https://www.npmjs.com/package/@stdlib/math-base-special-round
|
|
208
|
+
|
|
209
|
+
[@stdlib/math/base/special/round10]: https://www.npmjs.com/package/@stdlib/math-base-special-round10
|
|
210
|
+
|
|
211
|
+
<!-- </related-links> -->
|
|
212
|
+
|
|
171
213
|
</section>
|
|
172
214
|
|
|
173
215
|
<!-- /.links -->
|