@stdlib/math-base-special-trunc10 0.0.5 → 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 +47 -2
- package/package.json +1 -1
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
|
# trunc10
|
|
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 zero.
|
|
26
26
|
|
|
@@ -128,6 +128,26 @@ 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/floor10`][@stdlib/math/base/special/floor10]</span><span class="delimiter">: </span><span class="description">round a numeric value to the nearest power of 10 toward negative infinity.</span>
|
|
141
|
+
- <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>
|
|
142
|
+
- <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>
|
|
143
|
+
- <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>
|
|
144
|
+
|
|
145
|
+
</section>
|
|
146
|
+
|
|
147
|
+
<!-- /.related -->
|
|
148
|
+
|
|
149
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
150
|
+
|
|
131
151
|
|
|
132
152
|
<section class="main-repo" >
|
|
133
153
|
|
|
@@ -152,7 +172,7 @@ See [LICENSE][stdlib-license].
|
|
|
152
172
|
|
|
153
173
|
## Copyright
|
|
154
174
|
|
|
155
|
-
Copyright © 2016-
|
|
175
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
156
176
|
|
|
157
177
|
</section>
|
|
158
178
|
|
|
@@ -171,9 +191,20 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
171
191
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-special-trunc10/main.svg
|
|
172
192
|
[coverage-url]: https://codecov.io/github/stdlib-js/math-base-special-trunc10?branch=main
|
|
173
193
|
|
|
194
|
+
<!--
|
|
195
|
+
|
|
174
196
|
[dependencies-image]: https://img.shields.io/david/stdlib-js/math-base-special-trunc10.svg
|
|
175
197
|
[dependencies-url]: https://david-dm.org/stdlib-js/math-base-special-trunc10/main
|
|
176
198
|
|
|
199
|
+
-->
|
|
200
|
+
|
|
201
|
+
[umd]: https://github.com/umdjs/umd
|
|
202
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
203
|
+
|
|
204
|
+
[deno-url]: https://github.com/stdlib-js/math-base-special-trunc10/tree/deno
|
|
205
|
+
[umd-url]: https://github.com/stdlib-js/math-base-special-trunc10/tree/umd
|
|
206
|
+
[esm-url]: https://github.com/stdlib-js/math-base-special-trunc10/tree/esm
|
|
207
|
+
|
|
177
208
|
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
178
209
|
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
179
210
|
|
|
@@ -183,6 +214,20 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
183
214
|
|
|
184
215
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/math-base-special-trunc10/main/LICENSE
|
|
185
216
|
|
|
217
|
+
<!-- <related-links> -->
|
|
218
|
+
|
|
219
|
+
[@stdlib/math/base/special/ceil10]: https://www.npmjs.com/package/@stdlib/math-base-special-ceil10
|
|
220
|
+
|
|
221
|
+
[@stdlib/math/base/special/floor10]: https://www.npmjs.com/package/@stdlib/math-base-special-floor10
|
|
222
|
+
|
|
223
|
+
[@stdlib/math/base/special/round10]: https://www.npmjs.com/package/@stdlib/math-base-special-round10
|
|
224
|
+
|
|
225
|
+
[@stdlib/math/base/special/trunc]: https://www.npmjs.com/package/@stdlib/math-base-special-trunc
|
|
226
|
+
|
|
227
|
+
[@stdlib/math/base/special/trunc2]: https://www.npmjs.com/package/@stdlib/math-base-special-trunc2
|
|
228
|
+
|
|
229
|
+
<!-- </related-links> -->
|
|
230
|
+
|
|
186
231
|
</section>
|
|
187
232
|
|
|
188
233
|
<!-- /.links -->
|