@stdlib/math-iter-special-trunc2 0.0.2 → 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 CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2021 The Stdlib Authors.
1
+ Copyright (c) 2016-2022 The Stdlib Authors.
package/README.md CHANGED
@@ -20,7 +20,7 @@ limitations under the License.
20
20
 
21
21
  # iterTrunc2
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
  > Create an [iterator][mdn-iterator-protocol] which [rounds][@stdlib/math/base/special/trunc2] each iterated value to the nearest power of two toward zero.
26
26
 
@@ -140,6 +140,24 @@ while ( true ) {
140
140
 
141
141
  <!-- /.references -->
142
142
 
143
+ <!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
144
+
145
+ <section class="related">
146
+
147
+ * * *
148
+
149
+ ## See Also
150
+
151
+ - <span class="package-name">[`@stdlib/math/base/special/trunc2`][@stdlib/math/base/special/trunc2]</span><span class="delimiter">: </span><span class="description">round a numeric value to the nearest power of two toward zero.</span>
152
+ - <span class="package-name">[`@stdlib/math/iter/special/ceil2`][@stdlib/math/iter/special/ceil2]</span><span class="delimiter">: </span><span class="description">create an iterator which rounds each iterated value to the nearest power of two toward positive infinity.</span>
153
+ - <span class="package-name">[`@stdlib/math/iter/special/floor2`][@stdlib/math/iter/special/floor2]</span><span class="delimiter">: </span><span class="description">create an iterator which rounds each iterated value to the nearest power of two toward negative infinity.</span>
154
+ - <span class="package-name">[`@stdlib/math/iter/special/round2`][@stdlib/math/iter/special/round2]</span><span class="delimiter">: </span><span class="description">create an iterator which rounds each iterated value to the nearest power of two on a linear scale.</span>
155
+ - <span class="package-name">[`@stdlib/math/iter/special/trunc`][@stdlib/math/iter/special/trunc]</span><span class="delimiter">: </span><span class="description">create an iterator which rounds each iterated value toward zero.</span>
156
+
157
+ </section>
158
+
159
+ <!-- /.related -->
160
+
143
161
  <!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
144
162
 
145
163
 
@@ -153,6 +171,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
153
171
 
154
172
  For more information on the project, filing bug reports and feature requests, and guidance on how to develop [stdlib][stdlib], see the main project [repository][stdlib].
155
173
 
174
+ #### Community
175
+
176
+ [![Chat][chat-image]][chat-url]
177
+
156
178
  ---
157
179
 
158
180
  ## License
@@ -162,7 +184,7 @@ See [LICENSE][stdlib-license].
162
184
 
163
185
  ## Copyright
164
186
 
165
- Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
187
+ Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].
166
188
 
167
189
  </section>
168
190
 
@@ -181,9 +203,23 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
181
203
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-iter-special-trunc2/main.svg
182
204
  [coverage-url]: https://codecov.io/github/stdlib-js/math-iter-special-trunc2?branch=main
183
205
 
184
- [dependencies-image]: https://img.shields.io/david/stdlib-js/math-iter-special-trunc2
206
+ <!--
207
+
208
+ [dependencies-image]: https://img.shields.io/david/stdlib-js/math-iter-special-trunc2.svg
185
209
  [dependencies-url]: https://david-dm.org/stdlib-js/math-iter-special-trunc2/main
186
210
 
211
+ -->
212
+
213
+ [umd]: https://github.com/umdjs/umd
214
+ [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
215
+
216
+ [deno-url]: https://github.com/stdlib-js/math-iter-special-trunc2/tree/deno
217
+ [umd-url]: https://github.com/stdlib-js/math-iter-special-trunc2/tree/umd
218
+ [esm-url]: https://github.com/stdlib-js/math-iter-special-trunc2/tree/esm
219
+
220
+ [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
221
+ [chat-url]: https://gitter.im/stdlib-js/stdlib/
222
+
187
223
  [stdlib]: https://github.com/stdlib-js/stdlib
188
224
 
189
225
  [stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
@@ -192,7 +228,19 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
192
228
 
193
229
  [mdn-iterator-protocol]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterator_protocol
194
230
 
195
- [@stdlib/math/base/special/trunc2]: https://github.com/stdlib-js/math-base-special-trunc2
231
+ <!-- <related-links> -->
232
+
233
+ [@stdlib/math/base/special/trunc2]: https://www.npmjs.com/package/@stdlib/math-base-special-trunc2
234
+
235
+ [@stdlib/math/iter/special/ceil2]: https://www.npmjs.com/package/@stdlib/math-iter-special-ceil2
236
+
237
+ [@stdlib/math/iter/special/floor2]: https://www.npmjs.com/package/@stdlib/math-iter-special-floor2
238
+
239
+ [@stdlib/math/iter/special/round2]: https://www.npmjs.com/package/@stdlib/math-iter-special-round2
240
+
241
+ [@stdlib/math/iter/special/trunc]: https://www.npmjs.com/package/@stdlib/math-iter-special-trunc
242
+
243
+ <!-- </related-links> -->
196
244
 
197
245
  </section>
198
246
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/math-iter-special-trunc2",
3
- "version": "0.0.2",
3
+ "version": "0.0.6",
4
4
  "description": "Create an iterator which rounds each iterated value to the nearest power of two toward zero.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -28,7 +28,7 @@
28
28
  "examples": "make examples",
29
29
  "benchmark": "make benchmark"
30
30
  },
31
- "homepage": "https://github.com/stdlib-js/stdlib",
31
+ "homepage": "https://stdlib.io",
32
32
  "repository": {
33
33
  "type": "git",
34
34
  "url": "git://github.com/stdlib-js/math-iter-special-trunc2.git"
@@ -42,6 +42,7 @@
42
42
  "@stdlib/types": "^0.0.x"
43
43
  },
44
44
  "devDependencies": {
45
+ "@stdlib/array-to-iterator": "^0.0.x",
45
46
  "@stdlib/assert-is-iterator-like": "^0.0.x",
46
47
  "@stdlib/bench": "^0.0.x",
47
48
  "@stdlib/iter-linspace": "^0.0.x",
package/CHANGELOG.md DELETED
@@ -1,5 +0,0 @@
1
- # CHANGELOG
2
-
3
- > Package changelog.
4
-
5
- See [GitHub Releases](https://github.com/stdlib-js/math-iter-special-trunc2/releases) for the changelog.