@stdlib/math-base-special-ldexp
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -29,3 +29,3 @@ /* | ||
// The function does not compile if provided values other than two numbers... | ||
// The compiler throws an error if the function is provided values other than two numbers... | ||
{ | ||
@@ -53,3 +53,3 @@ ldexp( true, 3 ); // $ExpectError | ||
// The function does not compile if provided insufficient arguments... | ||
// The compiler throws an error if the function is provided insufficient arguments... | ||
{ | ||
@@ -56,0 +56,0 @@ ldexp(); // $ExpectError |
@@ -39,3 +39,3 @@ /** | ||
var copysign = require( '@stdlib/math-base-special-copysign' ); | ||
var normalize = require( '@stdlib/number-float64-base-normalize' ); | ||
var normalize = require( '@stdlib/number-float64-base-normalize' ).assign; | ||
var floatExp = require( '@stdlib/number-float64-base-exponent' ); | ||
@@ -110,3 +110,3 @@ var toWords = require( '@stdlib/number-float64-base-to-words' ); | ||
// Normalize the input fraction: | ||
normalize( FRAC, frac ); | ||
normalize( frac, FRAC, 1, 0 ); | ||
frac = FRAC[ 0 ]; | ||
@@ -113,0 +113,0 @@ exp += FRAC[ 1 ]; |
{ | ||
"name": "@stdlib/math-base-special-ldexp", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Multiply a double-precision floating-point number by an integer power of two.", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -186,4 +186,4 @@ <!-- | ||
[test-image]: https://github.com/stdlib-js/math-base-special-ldexp/actions/workflows/test.yml/badge.svg | ||
[test-url]: https://github.com/stdlib-js/math-base-special-ldexp/actions/workflows/test.yml | ||
[test-image]: https://github.com/stdlib-js/math-base-special-ldexp/actions/workflows/test.yml/badge.svg?branch=v0.0.7 | ||
[test-url]: https://github.com/stdlib-js/math-base-special-ldexp/actions/workflows/test.yml?query=branch:v0.0.7 | ||
@@ -200,2 +200,9 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-special-ldexp/main.svg | ||
[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 | ||
[umd]: https://github.com/umdjs/umd | ||
@@ -207,10 +214,4 @@ [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules | ||
[esm-url]: https://github.com/stdlib-js/math-base-special-ldexp/tree/esm | ||
[branches-url]: https://github.com/stdlib-js/math-base-special-ldexp/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-ldexp/main/LICENSE | ||
@@ -217,0 +218,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
227
28614
1