@stdlib/math-base-assert-is-positive-integer 0.0.3 → 0.0.7
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 +52 -3
- package/package.json +2 -2
- package/CHANGELOG.md +0 -5
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
|
# isPositiveInteger
|
|
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
|
> Test if a finite [double-precision floating-point number][ieee754] is a positive integer.
|
|
26
26
|
|
|
@@ -112,6 +112,25 @@ bool = isPositiveInteger( NaN );
|
|
|
112
112
|
|
|
113
113
|
<!-- /.examples -->
|
|
114
114
|
|
|
115
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
116
|
+
|
|
117
|
+
<section class="related">
|
|
118
|
+
|
|
119
|
+
* * *
|
|
120
|
+
|
|
121
|
+
## See Also
|
|
122
|
+
|
|
123
|
+
- <span class="package-name">[`@stdlib/math/base/assert/is-integer`][@stdlib/math/base/assert/is-integer]</span><span class="delimiter">: </span><span class="description">test if a finite double-precision floating-point number is an integer.</span>
|
|
124
|
+
- <span class="package-name">[`@stdlib/math/base/assert/is-negative-integer`][@stdlib/math/base/assert/is-negative-integer]</span><span class="delimiter">: </span><span class="description">test if a finite double-precision floating-point number is a negative integer.</span>
|
|
125
|
+
- <span class="package-name">[`@stdlib/math/base/assert/is-nonnegative-integer`][@stdlib/math/base/assert/is-nonnegative-integer]</span><span class="delimiter">: </span><span class="description">test if a finite double-precision floating-point number is a nonnegative integer.</span>
|
|
126
|
+
- <span class="package-name">[`@stdlib/math/base/assert/is-nonpositive-integer`][@stdlib/math/base/assert/is-nonpositive-integer]</span><span class="delimiter">: </span><span class="description">test if a finite double-precision floating-point number is a nonpositive integer.</span>
|
|
127
|
+
|
|
128
|
+
</section>
|
|
129
|
+
|
|
130
|
+
<!-- /.related -->
|
|
131
|
+
|
|
132
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
133
|
+
|
|
115
134
|
|
|
116
135
|
<section class="main-repo" >
|
|
117
136
|
|
|
@@ -123,6 +142,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
|
|
|
123
142
|
|
|
124
143
|
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].
|
|
125
144
|
|
|
145
|
+
#### Community
|
|
146
|
+
|
|
147
|
+
[![Chat][chat-image]][chat-url]
|
|
148
|
+
|
|
126
149
|
---
|
|
127
150
|
|
|
128
151
|
## License
|
|
@@ -132,7 +155,7 @@ See [LICENSE][stdlib-license].
|
|
|
132
155
|
|
|
133
156
|
## Copyright
|
|
134
157
|
|
|
135
|
-
Copyright © 2016-
|
|
158
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
136
159
|
|
|
137
160
|
</section>
|
|
138
161
|
|
|
@@ -151,9 +174,23 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
151
174
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-assert-is-positive-integer/main.svg
|
|
152
175
|
[coverage-url]: https://codecov.io/github/stdlib-js/math-base-assert-is-positive-integer?branch=main
|
|
153
176
|
|
|
154
|
-
|
|
177
|
+
<!--
|
|
178
|
+
|
|
179
|
+
[dependencies-image]: https://img.shields.io/david/stdlib-js/math-base-assert-is-positive-integer.svg
|
|
155
180
|
[dependencies-url]: https://david-dm.org/stdlib-js/math-base-assert-is-positive-integer/main
|
|
156
181
|
|
|
182
|
+
-->
|
|
183
|
+
|
|
184
|
+
[umd]: https://github.com/umdjs/umd
|
|
185
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
186
|
+
|
|
187
|
+
[deno-url]: https://github.com/stdlib-js/math-base-assert-is-positive-integer/tree/deno
|
|
188
|
+
[umd-url]: https://github.com/stdlib-js/math-base-assert-is-positive-integer/tree/umd
|
|
189
|
+
[esm-url]: https://github.com/stdlib-js/math-base-assert-is-positive-integer/tree/esm
|
|
190
|
+
|
|
191
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
192
|
+
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
193
|
+
|
|
157
194
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
158
195
|
|
|
159
196
|
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
@@ -162,6 +199,18 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
162
199
|
|
|
163
200
|
[ieee754]: https://en.wikipedia.org/wiki/IEEE_754-1985
|
|
164
201
|
|
|
202
|
+
<!-- <related-links> -->
|
|
203
|
+
|
|
204
|
+
[@stdlib/math/base/assert/is-integer]: https://www.npmjs.com/package/@stdlib/math-base-assert-is-integer
|
|
205
|
+
|
|
206
|
+
[@stdlib/math/base/assert/is-negative-integer]: https://www.npmjs.com/package/@stdlib/math-base-assert-is-negative-integer
|
|
207
|
+
|
|
208
|
+
[@stdlib/math/base/assert/is-nonnegative-integer]: https://www.npmjs.com/package/@stdlib/math-base-assert-is-nonnegative-integer
|
|
209
|
+
|
|
210
|
+
[@stdlib/math/base/assert/is-nonpositive-integer]: https://www.npmjs.com/package/@stdlib/math-base-assert-is-nonpositive-integer
|
|
211
|
+
|
|
212
|
+
<!-- </related-links> -->
|
|
213
|
+
|
|
165
214
|
</section>
|
|
166
215
|
|
|
167
216
|
<!-- /.links -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/math-base-assert-is-positive-integer",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Test if a finite double-precision floating-point number is a positive integer.",
|
|
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://
|
|
31
|
+
"homepage": "https://stdlib.io",
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|
|
34
34
|
"url": "git://github.com/stdlib-js/math-base-assert-is-positive-integer.git"
|