@stdlib/math-base-special-round
Advanced tools
Comparing version 0.0.7 to 0.1.0
@@ -19,3 +19,3 @@ /* | ||
// TypeScript Version: 2.0 | ||
// TypeScript Version: 4.1 | ||
@@ -22,0 +22,0 @@ /** |
@@ -67,3 +67,3 @@ /** | ||
var round = require( './round.js' ); | ||
var main = require( './main.js' ); | ||
@@ -73,2 +73,2 @@ | ||
module.exports = round; | ||
module.exports = main; |
{ | ||
"name": "@stdlib/math-base-special-round", | ||
"version": "0.0.7", | ||
"version": "0.1.0", | ||
"description": "Round a numeric value to the nearest integer.", | ||
@@ -41,11 +41,11 @@ "license": "Apache-2.0", | ||
"devDependencies": { | ||
"@stdlib/bench": "^0.0.x", | ||
"@stdlib/constants-float64-ninf": "^0.0.x", | ||
"@stdlib/constants-float64-pinf": "^0.0.x", | ||
"@stdlib/math-base-assert-is-nan": "^0.0.x", | ||
"@stdlib/math-base-assert-is-negative-zero": "^0.0.x", | ||
"@stdlib/random-base-randu": "^0.0.x", | ||
"@stdlib/bench": "^0.0.12", | ||
"@stdlib/constants-float64-ninf": "^0.0.8", | ||
"@stdlib/constants-float64-pinf": "^0.0.8", | ||
"@stdlib/math-base-assert-is-nan": "^0.0.8", | ||
"@stdlib/math-base-assert-is-negative-zero": "^0.0.8", | ||
"@stdlib/random-base-randu": "^0.0.8", | ||
"tape": "git+https://github.com/kgryte/tape.git#fix/globby", | ||
"istanbul": "^0.4.1", | ||
"tap-spec": "5.x.x" | ||
"tap-min": "git+https://github.com/Planeshifter/tap-min.git" | ||
}, | ||
@@ -79,5 +79,5 @@ "engines": { | ||
"funding": { | ||
"type": "patreon", | ||
"url": "https://www.patreon.com/athan" | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/stdlib" | ||
} | ||
} |
@@ -21,2 +21,13 @@ <!-- | ||
<details> | ||
<summary> | ||
About stdlib... | ||
</summary> | ||
<p>We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.</p> | ||
<p>The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.</p> | ||
<p>When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.</p> | ||
<p>To join us in bringing numerical computing to the web, get started by checking us out on <a href="https://github.com/stdlib-js/stdlib">GitHub</a>, and please consider <a href="https://opencollective.com/stdlib">financially supporting stdlib</a>. We greatly appreciate your continued support!</p> | ||
</details> | ||
# Round | ||
@@ -130,6 +141,6 @@ | ||
- <span class="package-name">[`@stdlib/math/base/special/ceil`][@stdlib/math/base/special/ceil]</span><span class="delimiter">: </span><span class="description">round a double-precision floating-point number toward positive infinity.</span> | ||
- <span class="package-name">[`@stdlib/math/base/special/floor`][@stdlib/math/base/special/floor]</span><span class="delimiter">: </span><span class="description">round a double-precision floating-point number toward negative infinity.</span> | ||
- <span class="package-name">[`@stdlib/math/base/special/roundn`][@stdlib/math/base/special/roundn]</span><span class="delimiter">: </span><span class="description">round a numeric value to the nearest multiple of 10^n.</span> | ||
- <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> | ||
- <span class="package-name">[`@stdlib/math-base/special/ceil`][@stdlib/math/base/special/ceil]</span><span class="delimiter">: </span><span class="description">round a double-precision floating-point number toward positive infinity.</span> | ||
- <span class="package-name">[`@stdlib/math-base/special/floor`][@stdlib/math/base/special/floor]</span><span class="delimiter">: </span><span class="description">round a double-precision floating-point number toward negative infinity.</span> | ||
- <span class="package-name">[`@stdlib/math-base/special/roundn`][@stdlib/math/base/special/roundn]</span><span class="delimiter">: </span><span class="description">round a numeric value to the nearest multiple of 10^n.</span> | ||
- <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> | ||
@@ -166,3 +177,3 @@ </section> | ||
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors]. | ||
Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors]. | ||
@@ -180,4 +191,4 @@ </section> | ||
[test-image]: https://github.com/stdlib-js/math-base-special-round/actions/workflows/test.yml/badge.svg | ||
[test-url]: https://github.com/stdlib-js/math-base-special-round/actions/workflows/test.yml | ||
[test-image]: https://github.com/stdlib-js/math-base-special-round/actions/workflows/test.yml/badge.svg?branch=v0.1.0 | ||
[test-url]: https://github.com/stdlib-js/math-base-special-round/actions/workflows/test.yml?query=branch:v0.1.0 | ||
@@ -194,2 +205,9 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-special-round/main.svg | ||
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg | ||
[chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im | ||
[stdlib]: https://github.com/stdlib-js/stdlib | ||
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors | ||
[umd]: https://github.com/umdjs/umd | ||
@@ -201,10 +219,4 @@ [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules | ||
[esm-url]: https://github.com/stdlib-js/math-base-special-round/tree/esm | ||
[branches-url]: https://github.com/stdlib-js/math-base-special-round/blob/main/branches.md | ||
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg | ||
[chat-url]: https://gitter.im/stdlib-js/stdlib/ | ||
[stdlib]: https://github.com/stdlib-js/stdlib | ||
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors | ||
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/math-base-special-round/main/LICENSE | ||
@@ -211,0 +223,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
11
233
28240
218