Socket
Socket
Sign inDemoInstall

@stdlib/math-base-special-ldexp

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stdlib/math-base-special-ldexp - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

4

docs/types/test.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc