@stdlib/math-base-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
  # trunc2
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 toward zero.
26
26
 
@@ -113,6 +113,26 @@ 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/round2`][@stdlib/math/base/special/round2]</span><span class="delimiter">: </span><span class="description">round a numeric value to the nearest power of two on a linear scale.</span>
127
+ - <span class="package-name">[`@stdlib/math/base/special/trunc`][@stdlib/math/base/special/trunc]</span><span class="delimiter">: </span><span class="description">round a double-precision floating-point number toward zero.</span>
128
+ - <span class="package-name">[`@stdlib/math/base/special/trunc10`][@stdlib/math/base/special/trunc10]</span><span class="delimiter">: </span><span class="description">round a numeric value to the nearest power of 10 toward zero.</span>
129
+
130
+ </section>
131
+
132
+ <!-- /.related -->
133
+
134
+ <!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
135
+
116
136
 
117
137
  <section class="main-repo" >
118
138
 
@@ -124,6 +144,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
124
144
 
125
145
  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].
126
146
 
147
+ #### Community
148
+
149
+ [![Chat][chat-image]][chat-url]
150
+
127
151
  ---
128
152
 
129
153
  ## License
@@ -133,7 +157,7 @@ See [LICENSE][stdlib-license].
133
157
 
134
158
  ## Copyright
135
159
 
136
- Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
160
+ Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].
137
161
 
138
162
  </section>
139
163
 
@@ -152,15 +176,43 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
152
176
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-special-trunc2/main.svg
153
177
  [coverage-url]: https://codecov.io/github/stdlib-js/math-base-special-trunc2?branch=main
154
178
 
155
- [dependencies-image]: https://img.shields.io/david/stdlib-js/math-base-special-trunc2
179
+ <!--
180
+
181
+ [dependencies-image]: https://img.shields.io/david/stdlib-js/math-base-special-trunc2.svg
156
182
  [dependencies-url]: https://david-dm.org/stdlib-js/math-base-special-trunc2/main
157
183
 
184
+ -->
185
+
186
+ [umd]: https://github.com/umdjs/umd
187
+ [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
188
+
189
+ [deno-url]: https://github.com/stdlib-js/math-base-special-trunc2/tree/deno
190
+ [umd-url]: https://github.com/stdlib-js/math-base-special-trunc2/tree/umd
191
+ [esm-url]: https://github.com/stdlib-js/math-base-special-trunc2/tree/esm
192
+
193
+ [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
194
+ [chat-url]: https://gitter.im/stdlib-js/stdlib/
195
+
158
196
  [stdlib]: https://github.com/stdlib-js/stdlib
159
197
 
160
198
  [stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
161
199
 
162
200
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/math-base-special-trunc2/main/LICENSE
163
201
 
202
+ <!-- <related-links> -->
203
+
204
+ [@stdlib/math/base/special/ceil2]: https://www.npmjs.com/package/@stdlib/math-base-special-ceil2
205
+
206
+ [@stdlib/math/base/special/floor2]: https://www.npmjs.com/package/@stdlib/math-base-special-floor2
207
+
208
+ [@stdlib/math/base/special/round2]: https://www.npmjs.com/package/@stdlib/math-base-special-round2
209
+
210
+ [@stdlib/math/base/special/trunc]: https://www.npmjs.com/package/@stdlib/math-base-special-trunc
211
+
212
+ [@stdlib/math/base/special/trunc10]: https://www.npmjs.com/package/@stdlib/math-base-special-trunc10
213
+
214
+ <!-- </related-links> -->
215
+
164
216
  </section>
165
217
 
166
218
  <!-- /.links -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/math-base-special-trunc2",
3
- "version": "0.0.2",
3
+ "version": "0.0.6",
4
4
  "description": "Round a numeric 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-base-special-trunc2.git"
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-base-special-trunc2/releases) for the changelog.