@stdlib/math-base-special-floor10 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 +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
|
# floor10
|
|
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 10 toward negative infinity.
|
|
26
26
|
|
|
@@ -128,6 +128,25 @@ for ( i = 0; i < 100; i++ ) {
|
|
|
128
128
|
|
|
129
129
|
<!-- /.examples -->
|
|
130
130
|
|
|
131
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
132
|
+
|
|
133
|
+
<section class="related">
|
|
134
|
+
|
|
135
|
+
* * *
|
|
136
|
+
|
|
137
|
+
## See Also
|
|
138
|
+
|
|
139
|
+
- <span class="package-name">[`@stdlib/math/base/special/ceil10`][@stdlib/math/base/special/ceil10]</span><span class="delimiter">: </span><span class="description">round a numeric value to the nearest power of 10 toward positive infinity.</span>
|
|
140
|
+
- <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>
|
|
141
|
+
- <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>
|
|
142
|
+
- <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>
|
|
143
|
+
|
|
144
|
+
</section>
|
|
145
|
+
|
|
146
|
+
<!-- /.related -->
|
|
147
|
+
|
|
148
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
149
|
+
|
|
131
150
|
|
|
132
151
|
<section class="main-repo" >
|
|
133
152
|
|
|
@@ -139,6 +158,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
|
|
|
139
158
|
|
|
140
159
|
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].
|
|
141
160
|
|
|
161
|
+
#### Community
|
|
162
|
+
|
|
163
|
+
[![Chat][chat-image]][chat-url]
|
|
164
|
+
|
|
142
165
|
---
|
|
143
166
|
|
|
144
167
|
## License
|
|
@@ -148,7 +171,7 @@ See [LICENSE][stdlib-license].
|
|
|
148
171
|
|
|
149
172
|
## Copyright
|
|
150
173
|
|
|
151
|
-
Copyright © 2016-
|
|
174
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
152
175
|
|
|
153
176
|
</section>
|
|
154
177
|
|
|
@@ -167,15 +190,41 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
167
190
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-special-floor10/main.svg
|
|
168
191
|
[coverage-url]: https://codecov.io/github/stdlib-js/math-base-special-floor10?branch=main
|
|
169
192
|
|
|
170
|
-
|
|
193
|
+
<!--
|
|
194
|
+
|
|
195
|
+
[dependencies-image]: https://img.shields.io/david/stdlib-js/math-base-special-floor10.svg
|
|
171
196
|
[dependencies-url]: https://david-dm.org/stdlib-js/math-base-special-floor10/main
|
|
172
197
|
|
|
198
|
+
-->
|
|
199
|
+
|
|
200
|
+
[umd]: https://github.com/umdjs/umd
|
|
201
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
202
|
+
|
|
203
|
+
[deno-url]: https://github.com/stdlib-js/math-base-special-floor10/tree/deno
|
|
204
|
+
[umd-url]: https://github.com/stdlib-js/math-base-special-floor10/tree/umd
|
|
205
|
+
[esm-url]: https://github.com/stdlib-js/math-base-special-floor10/tree/esm
|
|
206
|
+
|
|
207
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
208
|
+
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
209
|
+
|
|
173
210
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
174
211
|
|
|
175
212
|
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
176
213
|
|
|
177
214
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/math-base-special-floor10/main/LICENSE
|
|
178
215
|
|
|
216
|
+
<!-- <related-links> -->
|
|
217
|
+
|
|
218
|
+
[@stdlib/math/base/special/ceil10]: https://www.npmjs.com/package/@stdlib/math-base-special-ceil10
|
|
219
|
+
|
|
220
|
+
[@stdlib/math/base/special/floor]: https://www.npmjs.com/package/@stdlib/math-base-special-floor
|
|
221
|
+
|
|
222
|
+
[@stdlib/math/base/special/floor2]: https://www.npmjs.com/package/@stdlib/math-base-special-floor2
|
|
223
|
+
|
|
224
|
+
[@stdlib/math/base/special/round10]: https://www.npmjs.com/package/@stdlib/math-base-special-round10
|
|
225
|
+
|
|
226
|
+
<!-- </related-links> -->
|
|
227
|
+
|
|
179
228
|
</section>
|
|
180
229
|
|
|
181
230
|
<!-- /.links -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/math-base-special-floor10",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Round a numeric value to the nearest power of 10 toward negative infinity.",
|
|
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-special-floor10.git"
|